@usergist/sdk-core 0.1.0 → 0.1.2
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/CHANGELOG.md +5 -0
- package/dist/{mobile-H9slSAy8.d.cts → client-DGHJLNJu.d.cts} +1395 -15
- package/dist/{mobile-H9slSAy8.d.ts → client-DGHJLNJu.d.ts} +1395 -15
- package/dist/client.cjs +1235 -0
- package/dist/client.cjs.map +1 -0
- package/dist/client.d.cts +2 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.js +1170 -0
- package/dist/client.js.map +1 -0
- package/dist/index.cjs +1218 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +880 -17
- package/dist/index.d.ts +880 -17
- package/dist/index.js +1189 -39
- package/dist/index.js.map +1 -1
- package/dist/mobile.cjs +495 -23
- package/dist/mobile.cjs.map +1 -1
- package/dist/mobile.d.cts +2 -1
- package/dist/mobile.d.ts +2 -1
- package/dist/mobile.js +484 -24
- package/dist/mobile.js.map +1 -1
- package/package.json +7 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BillingPriceKind, a as BillingInterval } from './
|
|
2
|
-
export { A as APP_OPEN_EVENT_NAME, b as APP_VERSION_CHANGED_EVENT_NAME, c as AUDIENCE_JOIN_EVENT_NAME, d as AUDIENCE_JOIN_TRIGGER_KIND, e as AcceptWorkspaceInviteRequest, f as AcceptWorkspaceInviteResponse, g as ActiveWindow, h as AdminActivityEntry, i as AdminBillingEvent, j as AdminBillingNotification, k as AdminCustomerApp, l as AdminCustomerDetail, m as AdminCustomerListRequest, n as AdminCustomerListResponse, o as AdminCustomerMember, p as AdminCustomerSummary, q as AdminGrantStatus, r as AdminSession, s as AdminWorkspaceSummary, t as AmplitudeIntegrationRegion, u as AndroidImportance, v as AnswerValue, w as ApiError, x as ApiMeta, y as ApiResponse, z as ApiToken, C as ApiTokenScope, D as App, E as AppBrandSettings, F as AppOpenBeacon, G as AppOpenTrigger, H as AppUserDetail, I as AppUserEvent, J as AppUserSummary, K as AppVersionChangedTrigger, L as AppVersionCondition, M as ArmedInAppMessage, N as ArmedSurvey, O as ArmedTrigger, P as AudienceCombinator, Q as AudienceCondition, R as AudienceConditionKind, S as AudienceJoinTrigger, T as AudienceMode, U as AudienceSpec, V as BaseSurveyQuestion, W as BillingAccessState, X as BillingChangePlanRequest, Y as BillingChangePlanResponse, Z as BillingChargeStatus, _ as BillingCheckoutRequest, $ as BillingCheckoutResponse, a0 as BillingOfferAvailability, a1 as BillingPeriod, a2 as BillingPlan, a3 as BillingTrial, a4 as BillingUsage, a5 as BrandPillar, a6 as BrandTheme, a7 as BrandThemeDefaults, a8 as BrandThemeRef, a9 as BrandThemeTokens, aa as BulkUpdateStatusRequest, ab as CORE_INTEGRATION_EVENTS, ac as Campaign, ad as CampaignAnalytics, ae as CampaignMode, af as CampaignStatus, ag as CampaignType, ah as CampaignWithVariants, ai as ChannelCategory, aj as ClientPrompt, ak as CloneSurveyFromTemplateRequest, al as Combinator, am as ComparisonOp, an as CompleteSurveyAttemptRequest, ao as ConnectIntegrationRequest, ap as Consent, aq as ConsentPurpose, ar as CoreEventSubjectRole, as as CoreIntegrationEventDefinition, at as CornerRadiusPreset, au as CountOp, av as CountryCondition, aw as CreateApiTokenRequest, ax as CreateAppRequest, ay as CreateBrandThemeRequest, az as CreateCampaignRequest, aA as CreateInAppMessageRequest, aB as CreatePromptRequest, aC as CreateSegmentRequest, aD as CreateSurveyAttemptRequest, aE as CreateSurveyAttemptResponse, aF as CreateSurveyRequest, aG as CreateWorkspacePlanGrantRequest, aH as CreateWorkspaceRequest, aI as CreateWriteKeyRequest, aJ as CreatedApiToken, aK as CreatedApp, aL as CreatedWriteKey, aM as DeliveryBeacon, aN as DeliveryBeaconKind, aO as EditCommentPayload, aP as EffectivePlanAccess, aQ as Endpoint, aR as EndpointKey, aS as EventCountPredicate, aT as EventCountRule, aU as EventDefinition, aV as EventOccurredPredicate, aW as EventPerformedCondition, aX as EventProperties, aY as EventPropertyFilter, aZ as EventPropertySchema, a_ as EventPropertyType, a$ as EventPropertyValue, b0 as EventTrigger, b1 as ExtendWorkspacePlanGrantRequest, b2 as FeedbackRecipient, b3 as FrequencyCaps, b4 as GdprDeleteRequest, b5 as GdprExportRequest, b6 as GenerateSegmentNameRequest, b7 as GenerateSegmentNameResponse, b8 as GenerateSegmentRulesRequest, b9 as GenerateSegmentRulesResponse, ba as GetRequestsOptions, bb as GetRequestsResult, bc as INAPP_AUTO_DISMISSED_EVENT_NAME, bd as INAPP_CTA_CLICKED_EVENT_NAME, be as INAPP_DISMISSED_EVENT_NAME, bf as INAPP_SHOWN_EVENT_NAME, bg as INTEGRATION_CATEGORIES, bh as INTEGRATION_PROVIDERS, bi as InAppCta, bj as InAppCtaAction, bk as InAppFrequency, bl as InAppMessage, bm as InAppMessageAnalytics, bn as InAppMessageFormat, bo as InAppMessageMode, bp as InAppMessageStatus, bq as InAppRecipient, br as InAppRecipientStatus, bs as InfoScreenQuestion, bt as IngestBatch, bu as IngestContext, bv as IngestEvent, bw as InstallDateCondition, bx as IntegrationCategory, by as IntegrationDeliveriesResponse, bz as IntegrationDeliveryStatus, bA as IntegrationDeliverySummary, bB as IntegrationProvider, bC as IntegrationRegion, bD as IntegrationStatus, bE as IntegrationSummary, bF as IntegrationTestResult, bG as InvalidateDeviceTokenPayload, bH as InviteMemberRequest, bI as JsonAction, bJ as LastActiveCondition, bK as LikertQuestion, bL as ListRequestsQuery, bM as ListResponsesQuery, bN as ListUserEventsQuery, bO as ListUsersQuery, bP as LongTextQuestion, bQ as MergeRequestsRequest, bR as MixpanelIntegrationRegion, bS as MultiChoiceQuestion, bT as MultipleChoiceQuestion, bU as NpsQuestion, bV as PUSH_EVENTS, bW as PaginatedAppUserEvents, bX as PaginatedAppUsers, bY as ParsedPushPayload, bZ as PeriodicFrequency, b_ as PeriodicSchedule, b$ as Platform, c0 as PlatformCondition, c1 as PostCommentPayload, c2 as Predicate, c3 as PredicateGroup, c4 as Prompt, c5 as PromptAnalytics, c6 as PromptResponse, c7 as PromptStatus, c8 as PromptTheme, c9 as PushABConfig, ca as PushActionButton, cb as PushActionType, cc as PushChannelDef, cd as PushCredentialSummary, ce as PushDeliveryMode, cf as PushEventName, cg as PushFrequencyCap, ch as PushInterruptionLevel, ci as PushPlatformFilter, cj as PushQuietHours, ck as PushSchedule, cl as PushTransactionalRequest, cm as PushUrgency, cn as PushVariant, co as Question, cp as QuestionType, cq as RADIUS_PRESETS, cr as RECIPIENTS_LIMIT, cs as REQUEST_COMMENTED_EVENT_NAME, ct as REQUEST_COMMENT_DELETED_EVENT_NAME, cu as REQUEST_COMMENT_EDITED_EVENT_NAME, cv as REQUEST_FOLLOWED_EVENT_NAME, cw as REQUEST_RESPONDED_EVENT_NAME, cx as REQUEST_STATUS_CHANGED_EVENT_NAME, cy as REQUEST_SUBMITTED_EVENT_NAME, cz as REQUEST_UNFOLLOWED_EVENT_NAME, cA as REQUEST_UNUPVOTED_EVENT_NAME, cB as REQUEST_UPVOTED_EVENT_NAME, cC as RankingQuestion, cD as RatingDisplayMode, cE as RatingQuestion, cF as RebindRequest, cG as RecipientIdentity, cH as RecipientList, cI as RegisterDeviceTokenPayload, cJ as RegisterEventDefinitionRequest, cK as Request, cL as RequestAnalytics, cM as RequestBranding, cN as RequestComment, cO as RequestDetail, cP as RequestFollow, cQ as RequestFollowPayload, cR as RequestFollowSource, cS as RequestNotificationRules, cT as RequestPersonalFilter, cU as RequestPublicBranding, cV as RequestPublicDetail, cW as RequestPublicSummary, cX as RequestSearchResult, cY as RequestSettings, cZ as RequestSort, c_ as RequestStatus, c$ as RequestStatusChangedNotice, d0 as RequestSummary, d1 as RequestTimelineEntry, d2 as RequestTimelineEntryKind, d3 as RequestUpvoterSegmentBreakdown, d4 as RequestVote, d5 as RequestVotePayload, d6 as RequestsHandlers, d7 as ResolveSurveyLinkRequest, d8 as ResolveSurveyLinkResponse, d9 as ResponseAnswer, da as RevokeWorkspacePlanGrantRequest, db as RotateWriteKeyRequest, dc as RotateWriteKeyResponse, dd as SURVEY_END_SENTINEL, de as ScalarList, df as ScalarValue, dg as SdkArmedInAppMessagesResponse, dh as SdkArmedSurveysResponse, di as SdkArmedTriggersResponse, dj as SdkConfig, dk as SdkConsentPayload, dl as SdkIdentifyPayload, dm as SdkIngestRequest, dn as SdkIngestResponse, dp as SdkPlatform, dq as SdkSessionResponse, dr as Segment, ds as SegmentCondition, dt as SegmentDsl, du as SegmentPreview, dv as SerializedSegmentRules, dw as ShortTextQuestion, dx as SilentAck, dy as SilentPushPayload, dz as SingleChoiceQuestion, dA as SingleDateQuestion, dB as SubmitRequestPayload, dC as SubmitResponsePayload, dD as SubmitSurveyAnswersRequest, dE as Subscription, dF as SubscriptionSource, dG as SubscriptionStatus, dH as SurveyAnalytics, dI as SurveyAnswerRecord, dJ as SurveyAnswerValue, dK as SurveyAttempt, dL as SurveyAttemptSource, dM as SurveyBranch, dN as SurveyBranchCondition, dO as SurveyBranchOp, dP as SurveyBranchValue, dQ as SurveyCampaign, dR as SurveyCampaignWithFlow, dS as SurveyChoiceOption, dT as SurveyDeliveryMode, dU as SurveyEndCta, dV as SurveyEndCtaKind, dW as SurveyEndScreen, dX as SurveyFlow, dY as SurveyFollowUp, dZ as SurveyFunnelStep, d_ as SurveyLocalization, d$ as SurveyNpsQuestion, e0 as SurveyOfferInstruction, e1 as SurveyProgressStyle, e2 as SurveyQuestion, e3 as SurveyQuestionDistribution, e4 as SurveyQuestionType, e5 as SurveyRatingQuestion, e6 as SurveyRecipient, e7 as SurveyRecipientStatus, e8 as SurveyResponseRecord, e9 as SurveyShareLinkResponse, ea as SurveyShortTextQuestion, eb as SurveySummary, ec as SurveyTemplate, ed as SurveyTextValidation, ee as THEME_PRESETS, ef as TestPromptOnDeviceRequest, eg as ThemeColors, eh as ThemeMode, ei as ThemePreset, ej as TriggerKind, ek as TriggerOccurrence, el as TriggerOccurrenceMode, em as TriggerSpec, en as USER_IDENTIFIED_EVENT_NAME, eo as UpdateAppRequest, ep as UpdateBrandThemeDefaultsRequest, eq as UpdateBrandThemeRequest, er as UpdateCampaignRequest, es as UpdateDeviceTokenPayload, et as UpdateEventDefinitionRequest, eu as UpdateInAppMessageRequest, ev as UpdateIntegrationRequest, ew as UpdatePromptRequest, ex as UpdateRequestModerationRequest, ey as UpdateRequestResponseRequest, ez as UpdateRequestSettingsRequest, eA as UpdateRequestStatusRequest, eB as UpdateSurveyAttemptProgressRequest, eC as UpdateSurveyRequest, eD as UploadApnsCredentialRequest, eE as UploadCredentialRequest, eF as UploadFcmCredentialRequest, eG as User, eH as UserPropertyCondition, eI as UserPropertyPredicate, eJ as UserPropertyRule, eK as UserState, eL as Workspace, eM as WorkspaceInvite, eN as WorkspaceMember, eO as WorkspacePlanGrant, eP as WorkspaceRole, eQ as WorkspaceWithRole, eR as WriteKey, eS as brandTokensFromPreset, eT as defaultEventTrigger, eU as defaultThemePreset, eV as defaultTriggerSpec, eW as emptyAudienceSpec, eX as emptySegmentDsl, eY as endpoints, eZ as err, e_ as estimateProgress, e$ as evaluateBranchCondition, f0 as evaluateSegment, f1 as evaluateSerializedSegmentRules, f2 as findQuestion, f3 as findQuestionIndex, f4 as getCoreIntegrationEvent, f5 as getThemePresetById, f6 as inAppColorsFromBrandTokens, f7 as isSilentPushPayload, f8 as nextPeriodicFire, f9 as nextQuestionId, fa as ok, fb as promptThemeFromBrandTokens, fc as reachableQuestions, fd as requestAccentFromBrandTokens, fe as sanitizeCoreIntegrationProperties, ff as serializedRulesToDsl, fg as tzOffsetMinutes } from './mobile-H9slSAy8.js';
|
|
1
|
+
import { B as BillingPriceKind, a as BillingInterval, C as ContentNode } from './client-DGHJLNJu.js';
|
|
2
|
+
export { A as APP_OPEN_EVENT_NAME, b as APP_VERSION_CHANGED_EVENT_NAME, c as AUDIENCE_JOIN_EVENT_NAME, d as AUDIENCE_JOIN_TRIGGER_KIND, e as AcceptWorkspaceInviteRequest, f as AcceptWorkspaceInviteResponse, g as ActiveWindow, h as AdminActivityEntry, i as AdminBillingEvent, j as AdminBillingNotification, k as AdminCustomerApp, l as AdminCustomerDetail, m as AdminCustomerListRequest, n as AdminCustomerListResponse, o as AdminCustomerMember, p as AdminCustomerSummary, q as AdminDashboardUserListRequest, r as AdminDashboardUserListResponse, s as AdminDashboardUserSummary, t as AdminDeletionJob, u as AdminDeletionKind, v as AdminDeletionStatus, w as AdminGrantStatus, x as AdminSession, y as AdminWorkspaceSummary, z as AmplitudeIntegrationRegion, D as AndroidImportance, E as AnswerValue, F as ApiError, G as ApiMeta, H as ApiResponse, I as ApiToken, J as ApiTokenScope, K as App, L as AppBrandSettings, M as AppOnboarding, N as AppOnboardingStatus, O as AppOpenBeacon, P as AppOpenTrigger, Q as AppSearchQuery, R as AppSearchResult, S as AppUserDetail, T as AppUserEvent, U as AppUserSummary, V as AppVersionChangedTrigger, W as AppVersionCondition, X as ArmedInAppMessage, Y as ArmedSurvey, Z as ArmedTrigger, _ as AudienceCombinator, $ as AudienceCondition, a0 as AudienceConditionKind, a1 as AudienceJoinTrigger, a2 as AudienceMode, a3 as AudienceSpec, a4 as AuthorizePresentationRequest, a5 as AuthorizePresentationResponse, a6 as BaseSurveyQuestion, a7 as BillingAccessState, a8 as BillingChangePlanRequest, a9 as BillingChangePlanResponse, aa as BillingChargeStatus, ab as BillingCheckoutRequest, ac as BillingCheckoutResponse, ad as BillingOfferAvailability, ae as BillingPeriod, af as BillingPlan, ag as BillingTrial, ah as BillingUsage, ai as BrandPillar, aj as BrandTheme, ak as BrandThemeDefaults, al as BrandThemeRef, am as BrandThemeTokens, an as BulkUpdateStatusRequest, ao as CORE_INTEGRATION_EVENTS, ap as Campaign, aq as CampaignAnalytics, ar as CampaignDeliveryOptions, as as CampaignMode, at as CampaignStatus, au as CampaignType, av as CampaignWithVariants, aw as ChangelogCategory, ax as ChannelCategory, ay as ClientPrompt, az as CloneSurveyFromTemplateRequest, aA as Combinator, aB as ComparisonOp, aC as CompleteSurveyAttemptRequest, aD as ConnectIntegrationRequest, aE as Consent, aF as ConsentPurpose, aG as ContentAction, aH as ContentLink, aI as ContentLinkQuery, aJ as ContentLinkTarget, aK as ContentMark, aL as ContentPage, aM as ContentPageQuery, aN as ContentQuery, aO as ContentState, aP as CoreEventSubjectRole, aQ as CoreIntegrationEventDefinition, aR as CornerRadiusPreset, aS as CountOp, aT as CountryCondition, aU as CreateApiTokenRequest, aV as CreateAppPortal, aW as CreateAppRequest, aX as CreateBrandThemeRequest, aY as CreateCampaignRequest, aZ as CreateCollection, a_ as CreateDocument, a$ as CreateInAppMessageRequest, b0 as CreatePromptRequest, b1 as CreateRoadmapItem, b2 as CreateSegmentRequest, b3 as CreateSurveyAttemptRequest, b4 as CreateSurveyAttemptResponse, b5 as CreateSurveyRequest, b6 as CreateWorkspacePlanGrantRequest, b7 as CreateWorkspaceRequest, b8 as CreateWriteKeyRequest, b9 as CreatedApiToken, ba as CreatedApp, bb as CreatedWriteKey, bc as DELIVERY_PROTOCOL_VERSION, bd as DeferCurrentUserOnboardingRequest, be as DeleteAdminDashboardUserRequest, bf as DeleteAdminWorkspaceRequest, bg as DeliveryBeacon, bh as DeliveryBeaconKind, bi as DeliveryDiagnosticInput, bj as DeliveryDiagnosticResult, bk as DeliveryPlatform, bl as DocumentDraft, bm as DocumentKind, bn as EditCommentPayload, bo as EffectivePlanAccess, bp as Endpoint, bq as EndpointKey, br as EventCountPredicate, bs as EventCountRule, bt as EventDefinition, bu as EventOccurredPredicate, bv as EventPerformedCondition, bw as EventProperties, bx as EventPropertyFilter, by as EventPropertySchema, bz as EventPropertyType, bA as EventPropertyValue, bB as EventTrigger, bC as ExtendWorkspacePlanGrantRequest, bD as FeedbackRecipient, bE as FrequencyCaps, bF as GdprDeleteRequest, bG as GdprExportRequest, bH as GenerateSegmentNameRequest, bI as GenerateSegmentNameResponse, bJ as GenerateSegmentRulesRequest, bK as GenerateSegmentRulesResponse, bL as GetRequestsOptions, bM as GetRequestsResult, bN as GlobalFeatureFlag, bO as GlobalFeatureFlagKey, bP as HelpCollection, bQ as INAPP_AUTO_DISMISSED_EVENT_NAME, bR as INAPP_CTA_CLICKED_EVENT_NAME, bS as INAPP_DISMISSED_EVENT_NAME, bT as INAPP_SHOWN_EVENT_NAME, bU as INTEGRATION_CATEGORIES, bV as INTEGRATION_PROVIDERS, bW as InAppCta, bX as InAppCtaAction, bY as InAppFrequency, bZ as InAppMessage, b_ as InAppMessageAnalytics, b$ as InAppMessageFormat, c0 as InAppMessageMode, c1 as InAppMessageStatus, c2 as InAppRecipient, c3 as InAppRecipientStatus, c4 as InfoScreenQuestion, c5 as IngestBatch, c6 as IngestContext, c7 as IngestEvent, c8 as InstallDateCondition, c9 as IntegrationCategory, ca as IntegrationDeliveriesResponse, cb as IntegrationDeliveryStatus, cc as IntegrationDeliverySummary, cd as IntegrationProvider, ce as IntegrationRegion, cf as IntegrationStatus, cg as IntegrationSummary, ch as IntegrationTestResult, ci as InvalidateDeviceTokenPayload, cj as InviteMemberRequest, ck as JsonAction, cl as LastActiveCondition, cm as LikertQuestion, cn as ListRequestsQuery, co as ListResponsesQuery, cp as ListUserEventsQuery, cq as ListUsersQuery, cr as LongTextQuestion, cs as MCP_ACCESS_MODES, ct as MCP_CAPABILITIES, cu as MCP_DEFAULT_CAPABILITIES, cv as MCP_DOMAINS, cw as McpAccessMode, cx as McpActivity, cy as McpCapability, cz as McpConnection, cA as McpConnectionSettings, cB as McpDomain, cC as McpGrant, cD as McpOperationResult, cE as McpOperationStatus, cF as McpPage, cG as McpSearchSource, cH as MergeRequestsRequest, cI as MixpanelIntegrationRegion, cJ as MoveRoadmapItem, cK as MultiChoiceQuestion, cL as MultipleChoiceQuestion, cM as NpsQuestion, cN as OnboardingEvent, cO as OnboardingFirstFeedback, cP as OnboardingFirstInApp, cQ as OnboardingGoal, cR as OnboardingInAppContent, cS as OnboardingPushChoice, cT as OnboardingStatus, cU as OnboardingStep, cV as PORTAL_RESERVED_SLUGS, cW as PORTAL_SLUG_PATTERN, cX as PUSH_EVENTS, cY as PaginatedAppUserEvents, cZ as PaginatedAppUsers, c_ as ParsedPushPayload, c$ as PeriodicFrequency, d0 as PeriodicSchedule, d1 as PersonalizationBinding, d2 as PersonalizationFieldType, d3 as PersonalizationIssue, d4 as PersonalizationResolution, d5 as PersonalizationScalar, d6 as PersonalizationSource, d7 as PersonalizationSourceValue, d8 as PersonalizationSpec, d9 as PersonalizationSurface, da as Platform, db as PlatformCondition, dc as PortalApp, dd as PortalAsset, de as PortalAssetUpload, df as PortalAuthStart, dg as PortalAuthVerify, dh as PortalDocument, di as PortalRequest, dj as PortalRequestCounts, dk as PortalRequestList, dl as PortalRequestQuery, dm as PortalSection, dn as PortalSession, dp as PortalSettings, dq as PortalSubmission, dr as PortalVote, ds as PostCommentPayload, dt as Predicate, du as PredicateGroup, dv as PresentationGate, dw as ProductFeatureFlags, dx as Prompt, dy as PromptAnalytics, dz as PromptResponse, dA as PromptStatus, dB as PromptTheme, dC as PublicContentLink, dD as PublicDocumentSummary, dE as PublicPortal, dF as PublicPortalDocument, dG as PublicRoadmapItem, dH as PublicSignupStatus, dI as PushABConfig, dJ as PushActionButton, dK as PushActionType, dL as PushChannelDef, dM as PushCredentialSummary, dN as PushDeliveryMode, dO as PushEventName, dP as PushFrequencyCap, dQ as PushInterruptionLevel, dR as PushOpenAction, dS as PushPlatformFilter, dT as PushQuietHours, dU as PushSchedule, dV as PushTransactionalRequest, dW as PushUrgency, dX as PushVariant, dY as Question, dZ as QuestionType, d_ as RADIUS_PRESETS, d$ as RECIPIENTS_LIMIT, e0 as REQUEST_COMMENTED_EVENT_NAME, e1 as REQUEST_COMMENT_DELETED_EVENT_NAME, e2 as REQUEST_COMMENT_EDITED_EVENT_NAME, e3 as REQUEST_FOLLOWED_EVENT_NAME, e4 as REQUEST_RESPONDED_EVENT_NAME, e5 as REQUEST_STATUS_CHANGED_EVENT_NAME, e6 as REQUEST_SUBMITTED_EVENT_NAME, e7 as REQUEST_UNFOLLOWED_EVENT_NAME, e8 as REQUEST_UNUPVOTED_EVENT_NAME, e9 as REQUEST_UPVOTED_EVENT_NAME, ea as RankingQuestion, eb as RatingDisplayMode, ec as RatingQuestion, ed as RebindRequest, ee as RecipientIdentity, ef as RecipientList, eg as RecipientPageQuery, eh as RegisterDeviceTokenPayload, ei as RegisterEventDefinitionRequest, ej as RegisterSdkClientRequest, ek as ReorderContent, el as Request, em as RequestAnalytics, en as RequestBranding, eo as RequestComment, ep as RequestDetail, eq as RequestFollow, er as RequestFollowPayload, es as RequestFollowSource, et as RequestNotificationRules, eu as RequestPersonalFilter, ev as RequestPublicBranding, ew as RequestPublicDetail, ex as RequestPublicSummary, ey as RequestSearchResult, ez as RequestSettings, eA as RequestSort, eB as RequestStatus, eC as RequestStatusChangedNotice, eD as RequestSummary, eE as RequestTimelineEntry, eF as RequestTimelineEntryKind, eG as RequestUpvoterSegmentBreakdown, eH as RequestVote, eI as RequestVotePayload, eJ as RequestsHandlers, eK as ResolveSurveyLinkRequest, eL as ResolveSurveyLinkResponse, eM as ResponseAnswer, eN as RevokeWorkspacePlanGrantRequest, eO as RoadmapCard, eP as RoadmapItem, eQ as RoadmapQuery, eR as RoadmapRequestLink, eS as RoadmapStatus, eT as RotateWriteKeyRequest, eU as RotateWriteKeyResponse, eV as SURVEY_END_SENTINEL, eW as SaveDocument, eX as SaveRoadmapItem, eY as ScalarList, eZ as ScalarValue, e_ as SdkArmedInAppMessagesResponse, e$ as SdkArmedSurveysResponse, f0 as SdkArmedTriggersResponse, f1 as SdkConfig, f2 as SdkConsentPayload, f3 as SdkDeliveryInstruction, f4 as SdkIdentifyPayload, f5 as SdkIngestRequest, f6 as SdkIngestResponse, f7 as SdkPlatform, f8 as SdkSessionResponse, f9 as Segment, fa as SegmentCondition, fb as SegmentDsl, fc as SegmentPreview, fd as SerializedSegmentRules, fe as ShortTextQuestion, ff as SilentAck, fg as SilentPushPayload, fh as SingleChoiceQuestion, fi as SingleDateQuestion, fj as SubjectRef, fk as SubmitRequestPayload, fl as SubmitResponsePayload, fm as SubmitSurveyAnswersRequest, fn as Subscription, fo as SubscriptionSource, fp as SubscriptionStatus, fq as SurveyAnalytics, fr as SurveyAnswerRecord, fs as SurveyAnswerValue, ft as SurveyAttempt, fu as SurveyAttemptSource, fv as SurveyBranch, fw as SurveyBranchCondition, fx as SurveyBranchOp, fy as SurveyBranchValue, fz as SurveyCampaign, fA as SurveyCampaignWithFlow, fB as SurveyChoiceOption, fC as SurveyDeliveryMode, fD as SurveyEndCta, fE as SurveyEndCtaKind, fF as SurveyEndScreen, fG as SurveyFlow, fH as SurveyFollowUp, fI as SurveyFunnelStep, fJ as SurveyLocalization, fK as SurveyNpsQuestion, fL as SurveyOfferInstruction, fM as SurveyProgressStyle, fN as SurveyQuestion, fO as SurveyQuestionDistribution, fP as SurveyQuestionType, fQ as SurveyRatingQuestion, fR as SurveyRecipient, fS as SurveyRecipientStatus, fT as SurveyResponseRecord, fU as SurveyShareLinkResponse, fV as SurveyShortTextQuestion, fW as SurveySummary, fX as SurveyTemplate, fY as SurveyTextValidation, fZ as THEME_PRESETS, f_ as TestPromptOnDeviceRequest, f$ as ThemeColors, g0 as ThemeMode, g1 as ThemePreset, g2 as TriggerKind, g3 as TriggerOccurrence, g4 as TriggerOccurrenceMode, g5 as TriggerSpec, g6 as USER_IDENTIFIED_EVENT_NAME, g7 as UpdateAppOnboardingRequest, g8 as UpdateAppRequest, g9 as UpdateBrandThemeDefaultsRequest, ga as UpdateBrandThemeRequest, gb as UpdateCampaignRequest, gc as UpdateCollection, gd as UpdateCurrentUserRequest, ge as UpdateDeviceTokenPayload, gf as UpdateEventDefinitionRequest, gg as UpdateGlobalFeatureFlagRequest, gh as UpdateInAppMessageRequest, gi as UpdateIntegrationRequest, gj as UpdatePortalAppRequest, gk as UpdatePortalRequest, gl as UpdatePromptRequest, gm as UpdateRequestModerationRequest, gn as UpdateRequestResponseRequest, go as UpdateRequestSettingsRequest, gp as UpdateRequestStatusRequest, gq as UpdateSurveyAttemptProgressRequest, gr as UpdateSurveyRequest, gs as UpdateWorkspaceRequest, gt as UploadApnsCredentialRequest, gu as UploadCredentialRequest, gv as UploadFcmCredentialRequest, gw as User, gx as UserPropertiesUpdate, gy as UserPropertyCondition, gz as UserPropertyPredicate, gA as UserPropertyRule, gB as UserState, gC as WebAppConfig, gD as WebLayout, gE as WebPresentation, gF as Workspace, gG as WorkspaceInvite, gH as WorkspaceMember, gI as WorkspacePlanGrant, gJ as WorkspaceRole, gK as WorkspaceWithRole, gL as WriteKey, gM as brandTokensFromPreset, gN as buildPortalUrl, gO as contentAssetIds, gP as contentSlug, gQ as contentText, gR as defaultEventTrigger, gS as defaultOnboardingMessage, gT as defaultThemePreset, gU as defaultTriggerSpec, gV as deliveryPlatformsForApp, gW as emptyAudienceSpec, gX as emptyDocumentDraft, gY as emptySegmentDsl, gZ as endpoints, g_ as err, g$ as estimateProgress, h0 as evaluateBranchCondition, h1 as evaluateSegment, h2 as evaluateSerializedSegmentRules, h3 as findQuestion, h4 as findQuestionIndex, h5 as getCoreIntegrationEvent, h6 as getThemePresetById, h7 as inAppColorsFromBrandTokens, h8 as isSilentPushPayload, h9 as nextPeriodicFire, ha as nextQuestionId, hb as ok, hc as personalizationSpecSchema, hd as personalizationToken, he as personalizationUsage, hf as promptThemeFromBrandTokens, hg as reachableQuestions, hh as renderPersonalizedContent, hi as renderPersonalizedValue, hj as requestAccentFromBrandTokens, hk as resolvePersonalizationBindings, hl as resolveWebPresentation, hm as safeContentHref, hn as sanitizeCoreIntegrationProperties, ho as serializedRulesToDsl, hp as suggestPortalSlug, hq as tzOffsetMinutes, hr as userPropertiesUpdateSchema, hs as validPortalSlug } from './client-DGHJLNJu.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
interface CommercialPlanDefinition {
|
|
@@ -26,6 +26,24 @@ declare const TRIAL_APP_LIMIT = 1;
|
|
|
26
26
|
declare const STARTER_FOUNDING_OFFER_CODE = "starter_founding_100";
|
|
27
27
|
declare const STARTER_FOUNDING_CUSTOMER_LIMIT = 100;
|
|
28
28
|
|
|
29
|
+
interface ZonedDateTimeParts {
|
|
30
|
+
readonly date: string;
|
|
31
|
+
readonly time: string;
|
|
32
|
+
readonly weekday: number;
|
|
33
|
+
readonly dayOfMonth: number;
|
|
34
|
+
}
|
|
35
|
+
declare function isValidIanaTimeZone(value: string): boolean;
|
|
36
|
+
declare function zonedDateTimeParts(instant: Date, timeZone: string): ZonedDateTimeParts;
|
|
37
|
+
/**
|
|
38
|
+
* Converts an IANA-zone wall-clock value into an absolute instant.
|
|
39
|
+
*
|
|
40
|
+
* Ambiguous fall-back times resolve to the earlier occurrence. Nonexistent
|
|
41
|
+
* spring-forward times are rejected instead of silently moving a campaign.
|
|
42
|
+
*/
|
|
43
|
+
declare function zonedDateTimeToUtc(date: string, time: string, timeZone: string): Date;
|
|
44
|
+
/** Returns the final millisecond of a calendar date in an IANA timezone. */
|
|
45
|
+
declare function zonedDateEndToUtc(date: string, timeZone: string): Date;
|
|
46
|
+
|
|
29
47
|
/**
|
|
30
48
|
* Password policy. Tightening this here flows to: API signup route, dashboard
|
|
31
49
|
* SignupForm, password-reset flow, future SSO bridge. Don't fork it in a form.
|
|
@@ -71,53 +89,235 @@ declare const loginMagicLinkConsumeRequestSchema: z.ZodObject<{
|
|
|
71
89
|
}, {
|
|
72
90
|
token: string;
|
|
73
91
|
}>;
|
|
92
|
+
declare const updateCurrentUserSchema: z.ZodEffects<z.ZodObject<{
|
|
93
|
+
name: z.ZodOptional<z.ZodString>;
|
|
94
|
+
}, "strict", z.ZodTypeAny, {
|
|
95
|
+
name?: string | undefined;
|
|
96
|
+
}, {
|
|
97
|
+
name?: string | undefined;
|
|
98
|
+
}>, {
|
|
99
|
+
name?: string | undefined;
|
|
100
|
+
}, {
|
|
101
|
+
name?: string | undefined;
|
|
102
|
+
}>;
|
|
74
103
|
type SignupBody = z.infer<typeof signupRequestSchema>;
|
|
75
104
|
type LoginPasswordBody = z.infer<typeof loginPasswordRequestSchema>;
|
|
76
105
|
type LoginMagicLinkBody = z.infer<typeof loginMagicLinkRequestSchema>;
|
|
77
106
|
type LoginMagicLinkConsumeBody = z.infer<typeof loginMagicLinkConsumeRequestSchema>;
|
|
107
|
+
type UpdateCurrentUserBody = z.infer<typeof updateCurrentUserSchema>;
|
|
78
108
|
|
|
79
|
-
declare const
|
|
109
|
+
declare const workspaceTimezoneSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
110
|
+
declare const platformSchema: z.ZodEnum<["ios", "android", "react-native", "expo", "flutter", "web"]>;
|
|
80
111
|
declare const writeKeyEnvironmentSchema: z.ZodEnum<["production", "staging", "development"]>;
|
|
81
|
-
declare const
|
|
112
|
+
declare const onboardingGoalSchema: z.ZodEnum<["feedback", "survey", "inapp", "push", "requests"]>;
|
|
113
|
+
declare const onboardingStatusSchema: z.ZodEnum<["in_progress", "deferred", "completed"]>;
|
|
114
|
+
declare const onboardingStepSchema: z.ZodEnum<["connect", "verify", "experience", "push", "launch"]>;
|
|
115
|
+
declare const onboardingPushChoiceSchema: z.ZodEnum<["pending", "configured", "skipped"]>;
|
|
116
|
+
declare const apiTokenScopeSchema: z.ZodEnum<["sdk:subjects", "push.transactional", "users.properties.write"]>;
|
|
82
117
|
declare const createAppSchema: z.ZodObject<{
|
|
83
118
|
name: z.ZodString;
|
|
84
119
|
slug: z.ZodOptional<z.ZodString>;
|
|
85
|
-
platforms: z.ZodArray<z.ZodEnum<["ios", "android", "react-native", "flutter"]>, "many">;
|
|
120
|
+
platforms: z.ZodArray<z.ZodEnum<["ios", "android", "react-native", "expo", "flutter", "web"]>, "many">;
|
|
86
121
|
environment: z.ZodDefault<z.ZodEnum<["production", "staging", "development"]>>;
|
|
122
|
+
onboardingGoal: z.ZodOptional<z.ZodEnum<["feedback", "survey", "inapp", "push", "requests"]>>;
|
|
123
|
+
setupMode: z.ZodOptional<z.ZodEnum<["sdk", "portal"]>>;
|
|
124
|
+
portal: z.ZodOptional<z.ZodObject<{
|
|
125
|
+
appSlug: z.ZodEffects<z.ZodString, string, string>;
|
|
126
|
+
company: z.ZodOptional<z.ZodObject<{
|
|
127
|
+
displayName: z.ZodString;
|
|
128
|
+
slug: z.ZodEffects<z.ZodString, string, string>;
|
|
129
|
+
}, "strict", z.ZodTypeAny, {
|
|
130
|
+
slug: string;
|
|
131
|
+
displayName: string;
|
|
132
|
+
}, {
|
|
133
|
+
slug: string;
|
|
134
|
+
displayName: string;
|
|
135
|
+
}>>;
|
|
136
|
+
}, "strict", z.ZodTypeAny, {
|
|
137
|
+
appSlug: string;
|
|
138
|
+
company?: {
|
|
139
|
+
slug: string;
|
|
140
|
+
displayName: string;
|
|
141
|
+
} | undefined;
|
|
142
|
+
}, {
|
|
143
|
+
appSlug: string;
|
|
144
|
+
company?: {
|
|
145
|
+
slug: string;
|
|
146
|
+
displayName: string;
|
|
147
|
+
} | undefined;
|
|
148
|
+
}>>;
|
|
149
|
+
webConfig: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
allowedOrigins: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
|
|
151
|
+
}, "strict", z.ZodTypeAny, {
|
|
152
|
+
allowedOrigins: string[];
|
|
153
|
+
}, {
|
|
154
|
+
allowedOrigins: string[];
|
|
155
|
+
}>>;
|
|
87
156
|
}, "strip", z.ZodTypeAny, {
|
|
88
157
|
name: string;
|
|
89
|
-
platforms: ("ios" | "android" | "react-native" | "flutter")[];
|
|
90
158
|
environment: "production" | "staging" | "development";
|
|
159
|
+
platforms: ("ios" | "android" | "react-native" | "flutter" | "web" | "expo")[];
|
|
160
|
+
portal?: {
|
|
161
|
+
appSlug: string;
|
|
162
|
+
company?: {
|
|
163
|
+
slug: string;
|
|
164
|
+
displayName: string;
|
|
165
|
+
} | undefined;
|
|
166
|
+
} | undefined;
|
|
91
167
|
slug?: string | undefined;
|
|
168
|
+
webConfig?: {
|
|
169
|
+
allowedOrigins: string[];
|
|
170
|
+
} | undefined;
|
|
171
|
+
onboardingGoal?: "push" | "inapp" | "feedback" | "survey" | "requests" | undefined;
|
|
172
|
+
setupMode?: "sdk" | "portal" | undefined;
|
|
92
173
|
}, {
|
|
93
174
|
name: string;
|
|
94
|
-
platforms: ("ios" | "android" | "react-native" | "flutter")[];
|
|
175
|
+
platforms: ("ios" | "android" | "react-native" | "flutter" | "web" | "expo")[];
|
|
176
|
+
portal?: {
|
|
177
|
+
appSlug: string;
|
|
178
|
+
company?: {
|
|
179
|
+
slug: string;
|
|
180
|
+
displayName: string;
|
|
181
|
+
} | undefined;
|
|
182
|
+
} | undefined;
|
|
95
183
|
environment?: "production" | "staging" | "development" | undefined;
|
|
96
184
|
slug?: string | undefined;
|
|
185
|
+
webConfig?: {
|
|
186
|
+
allowedOrigins: string[];
|
|
187
|
+
} | undefined;
|
|
188
|
+
onboardingGoal?: "push" | "inapp" | "feedback" | "survey" | "requests" | undefined;
|
|
189
|
+
setupMode?: "sdk" | "portal" | undefined;
|
|
190
|
+
}>;
|
|
191
|
+
declare const updateOnboardingSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
192
|
+
action: z.ZodOptional<z.ZodEnum<["resume", "defer", "create_first_inapp", "first_inapp_completed", "create_first_feedback", "first_feedback_completed", "push_configured", "push_skipped", "complete"]>>;
|
|
193
|
+
step: z.ZodOptional<z.ZodEnum<["connect", "verify", "experience", "push", "launch"]>>;
|
|
194
|
+
question: z.ZodOptional<z.ZodString>;
|
|
195
|
+
message: z.ZodOptional<z.ZodObject<{
|
|
196
|
+
title: z.ZodString;
|
|
197
|
+
body: z.ZodString;
|
|
198
|
+
buttonLabel: z.ZodString;
|
|
199
|
+
format: z.ZodEnum<["modal", "slideup"]>;
|
|
200
|
+
}, "strict", z.ZodTypeAny, {
|
|
201
|
+
format: "modal" | "slideup";
|
|
202
|
+
title: string;
|
|
203
|
+
body: string;
|
|
204
|
+
buttonLabel: string;
|
|
205
|
+
}, {
|
|
206
|
+
format: "modal" | "slideup";
|
|
207
|
+
title: string;
|
|
208
|
+
body: string;
|
|
209
|
+
buttonLabel: string;
|
|
210
|
+
}>>;
|
|
211
|
+
}, "strip", z.ZodTypeAny, {
|
|
212
|
+
message?: {
|
|
213
|
+
format: "modal" | "slideup";
|
|
214
|
+
title: string;
|
|
215
|
+
body: string;
|
|
216
|
+
buttonLabel: string;
|
|
217
|
+
} | undefined;
|
|
218
|
+
action?: "resume" | "defer" | "create_first_inapp" | "first_inapp_completed" | "create_first_feedback" | "first_feedback_completed" | "push_configured" | "push_skipped" | "complete" | undefined;
|
|
219
|
+
step?: "push" | "connect" | "verify" | "experience" | "launch" | undefined;
|
|
220
|
+
question?: string | undefined;
|
|
221
|
+
}, {
|
|
222
|
+
message?: {
|
|
223
|
+
format: "modal" | "slideup";
|
|
224
|
+
title: string;
|
|
225
|
+
body: string;
|
|
226
|
+
buttonLabel: string;
|
|
227
|
+
} | undefined;
|
|
228
|
+
action?: "resume" | "defer" | "create_first_inapp" | "first_inapp_completed" | "create_first_feedback" | "first_feedback_completed" | "push_configured" | "push_skipped" | "complete" | undefined;
|
|
229
|
+
step?: "push" | "connect" | "verify" | "experience" | "launch" | undefined;
|
|
230
|
+
question?: string | undefined;
|
|
231
|
+
}>, {
|
|
232
|
+
message?: {
|
|
233
|
+
format: "modal" | "slideup";
|
|
234
|
+
title: string;
|
|
235
|
+
body: string;
|
|
236
|
+
buttonLabel: string;
|
|
237
|
+
} | undefined;
|
|
238
|
+
action?: "resume" | "defer" | "create_first_inapp" | "first_inapp_completed" | "create_first_feedback" | "first_feedback_completed" | "push_configured" | "push_skipped" | "complete" | undefined;
|
|
239
|
+
step?: "push" | "connect" | "verify" | "experience" | "launch" | undefined;
|
|
240
|
+
question?: string | undefined;
|
|
241
|
+
}, {
|
|
242
|
+
message?: {
|
|
243
|
+
format: "modal" | "slideup";
|
|
244
|
+
title: string;
|
|
245
|
+
body: string;
|
|
246
|
+
buttonLabel: string;
|
|
247
|
+
} | undefined;
|
|
248
|
+
action?: "resume" | "defer" | "create_first_inapp" | "first_inapp_completed" | "create_first_feedback" | "first_feedback_completed" | "push_configured" | "push_skipped" | "complete" | undefined;
|
|
249
|
+
step?: "push" | "connect" | "verify" | "experience" | "launch" | undefined;
|
|
250
|
+
question?: string | undefined;
|
|
251
|
+
}>, {
|
|
252
|
+
message?: {
|
|
253
|
+
format: "modal" | "slideup";
|
|
254
|
+
title: string;
|
|
255
|
+
body: string;
|
|
256
|
+
buttonLabel: string;
|
|
257
|
+
} | undefined;
|
|
258
|
+
action?: "resume" | "defer" | "create_first_inapp" | "first_inapp_completed" | "create_first_feedback" | "first_feedback_completed" | "push_configured" | "push_skipped" | "complete" | undefined;
|
|
259
|
+
step?: "push" | "connect" | "verify" | "experience" | "launch" | undefined;
|
|
260
|
+
question?: string | undefined;
|
|
261
|
+
}, {
|
|
262
|
+
message?: {
|
|
263
|
+
format: "modal" | "slideup";
|
|
264
|
+
title: string;
|
|
265
|
+
body: string;
|
|
266
|
+
buttonLabel: string;
|
|
267
|
+
} | undefined;
|
|
268
|
+
action?: "resume" | "defer" | "create_first_inapp" | "first_inapp_completed" | "create_first_feedback" | "first_feedback_completed" | "push_configured" | "push_skipped" | "complete" | undefined;
|
|
269
|
+
step?: "push" | "connect" | "verify" | "experience" | "launch" | undefined;
|
|
270
|
+
question?: string | undefined;
|
|
271
|
+
}>;
|
|
272
|
+
declare const deferCurrentUserOnboardingSchema: z.ZodObject<{
|
|
273
|
+
action: z.ZodLiteral<"defer">;
|
|
274
|
+
}, "strip", z.ZodTypeAny, {
|
|
275
|
+
action: "defer";
|
|
276
|
+
}, {
|
|
277
|
+
action: "defer";
|
|
97
278
|
}>;
|
|
98
279
|
declare const updateAppSchema: z.ZodEffects<z.ZodObject<{
|
|
99
280
|
name: z.ZodOptional<z.ZodString>;
|
|
100
|
-
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["ios", "android", "react-native", "flutter"]>, "many">>;
|
|
281
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["ios", "android", "react-native", "expo", "flutter", "web"]>, "many">>;
|
|
101
282
|
piiAllowList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
102
283
|
lifecycleEventsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
284
|
+
webConfig: z.ZodOptional<z.ZodObject<{
|
|
285
|
+
allowedOrigins: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
|
|
286
|
+
}, "strict", z.ZodTypeAny, {
|
|
287
|
+
allowedOrigins: string[];
|
|
288
|
+
}, {
|
|
289
|
+
allowedOrigins: string[];
|
|
290
|
+
}>>;
|
|
103
291
|
}, "strip", z.ZodTypeAny, {
|
|
104
292
|
name?: string | undefined;
|
|
105
|
-
|
|
293
|
+
webConfig?: {
|
|
294
|
+
allowedOrigins: string[];
|
|
295
|
+
} | undefined;
|
|
296
|
+
platforms?: ("ios" | "android" | "react-native" | "flutter" | "web" | "expo")[] | undefined;
|
|
106
297
|
piiAllowList?: string[] | undefined;
|
|
107
298
|
lifecycleEventsEnabled?: boolean | undefined;
|
|
108
299
|
}, {
|
|
109
300
|
name?: string | undefined;
|
|
110
|
-
|
|
301
|
+
webConfig?: {
|
|
302
|
+
allowedOrigins: string[];
|
|
303
|
+
} | undefined;
|
|
304
|
+
platforms?: ("ios" | "android" | "react-native" | "flutter" | "web" | "expo")[] | undefined;
|
|
111
305
|
piiAllowList?: string[] | undefined;
|
|
112
306
|
lifecycleEventsEnabled?: boolean | undefined;
|
|
113
307
|
}>, {
|
|
114
308
|
name?: string | undefined;
|
|
115
|
-
|
|
309
|
+
webConfig?: {
|
|
310
|
+
allowedOrigins: string[];
|
|
311
|
+
} | undefined;
|
|
312
|
+
platforms?: ("ios" | "android" | "react-native" | "flutter" | "web" | "expo")[] | undefined;
|
|
116
313
|
piiAllowList?: string[] | undefined;
|
|
117
314
|
lifecycleEventsEnabled?: boolean | undefined;
|
|
118
315
|
}, {
|
|
119
316
|
name?: string | undefined;
|
|
120
|
-
|
|
317
|
+
webConfig?: {
|
|
318
|
+
allowedOrigins: string[];
|
|
319
|
+
} | undefined;
|
|
320
|
+
platforms?: ("ios" | "android" | "react-native" | "flutter" | "web" | "expo")[] | undefined;
|
|
121
321
|
piiAllowList?: string[] | undefined;
|
|
122
322
|
lifecycleEventsEnabled?: boolean | undefined;
|
|
123
323
|
}>;
|
|
@@ -140,26 +340,45 @@ declare const rotateWriteKeySchema: z.ZodObject<{
|
|
|
140
340
|
}>;
|
|
141
341
|
declare const createApiTokenSchema: z.ZodObject<{
|
|
142
342
|
name: z.ZodString;
|
|
143
|
-
scopes: z.ZodEffects<z.ZodArray<z.ZodEnum<["sdk:subjects", "push.transactional"]>, "many">, ("sdk:subjects" | "push.transactional")[], ("sdk:subjects" | "push.transactional")[]>;
|
|
343
|
+
scopes: z.ZodEffects<z.ZodArray<z.ZodEnum<["sdk:subjects", "push.transactional", "users.properties.write"]>, "many">, ("sdk:subjects" | "push.transactional" | "users.properties.write")[], ("sdk:subjects" | "push.transactional" | "users.properties.write")[]>;
|
|
144
344
|
expiresInDays: z.ZodDefault<z.ZodNumber>;
|
|
145
345
|
}, "strip", z.ZodTypeAny, {
|
|
146
346
|
name: string;
|
|
147
|
-
scopes: ("sdk:subjects" | "push.transactional")[];
|
|
347
|
+
scopes: ("sdk:subjects" | "push.transactional" | "users.properties.write")[];
|
|
148
348
|
expiresInDays: number;
|
|
149
349
|
}, {
|
|
150
350
|
name: string;
|
|
151
|
-
scopes: ("sdk:subjects" | "push.transactional")[];
|
|
351
|
+
scopes: ("sdk:subjects" | "push.transactional" | "users.properties.write")[];
|
|
152
352
|
expiresInDays?: number | undefined;
|
|
153
353
|
}>;
|
|
154
354
|
declare const createWorkspaceSchema: z.ZodObject<{
|
|
155
355
|
name: z.ZodString;
|
|
156
356
|
slug: z.ZodOptional<z.ZodString>;
|
|
357
|
+
timezone: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
157
358
|
}, "strip", z.ZodTypeAny, {
|
|
158
359
|
name: string;
|
|
360
|
+
timezone: string;
|
|
159
361
|
slug?: string | undefined;
|
|
160
362
|
}, {
|
|
161
363
|
name: string;
|
|
162
364
|
slug?: string | undefined;
|
|
365
|
+
timezone?: string | undefined;
|
|
366
|
+
}>;
|
|
367
|
+
declare const updateWorkspaceSchema: z.ZodEffects<z.ZodObject<{
|
|
368
|
+
name: z.ZodOptional<z.ZodString>;
|
|
369
|
+
timezone: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
370
|
+
}, "strict", z.ZodTypeAny, {
|
|
371
|
+
name?: string | undefined;
|
|
372
|
+
timezone?: string | undefined;
|
|
373
|
+
}, {
|
|
374
|
+
name?: string | undefined;
|
|
375
|
+
timezone?: string | undefined;
|
|
376
|
+
}>, {
|
|
377
|
+
name?: string | undefined;
|
|
378
|
+
timezone?: string | undefined;
|
|
379
|
+
}, {
|
|
380
|
+
name?: string | undefined;
|
|
381
|
+
timezone?: string | undefined;
|
|
163
382
|
}>;
|
|
164
383
|
declare const inviteMemberSchema: z.ZodObject<{
|
|
165
384
|
email: z.ZodString;
|
|
@@ -179,11 +398,13 @@ declare const acceptWorkspaceInviteSchema: z.ZodObject<{
|
|
|
179
398
|
token: string;
|
|
180
399
|
}>;
|
|
181
400
|
type CreateAppBody = z.infer<typeof createAppSchema>;
|
|
401
|
+
type UpdateOnboardingBody = z.infer<typeof updateOnboardingSchema>;
|
|
182
402
|
type UpdateAppBody = z.infer<typeof updateAppSchema>;
|
|
183
403
|
type CreateWriteKeyBody = z.infer<typeof createWriteKeySchema>;
|
|
184
404
|
type RotateWriteKeyBody = z.infer<typeof rotateWriteKeySchema>;
|
|
185
405
|
type CreateApiTokenBody = z.infer<typeof createApiTokenSchema>;
|
|
186
406
|
type CreateWorkspaceBody = z.infer<typeof createWorkspaceSchema>;
|
|
407
|
+
type UpdateWorkspaceBody = z.infer<typeof updateWorkspaceSchema>;
|
|
187
408
|
type InviteMemberBody = z.infer<typeof inviteMemberSchema>;
|
|
188
409
|
type AcceptWorkspaceInviteBody = z.infer<typeof acceptWorkspaceInviteSchema>;
|
|
189
410
|
|
|
@@ -197,6 +418,595 @@ declare const isoDateTimeSchema: z.ZodString;
|
|
|
197
418
|
declare const workspaceRoleSchema: z.ZodEnum<["owner", "admin", "editor", "viewer"]>;
|
|
198
419
|
type WorkspaceRoleInput = z.infer<typeof workspaceRoleSchema>;
|
|
199
420
|
|
|
421
|
+
declare const deliveryPlatformsSchema: z.ZodEffects<z.ZodArray<z.ZodEnum<["ios", "android", "web"]>, "many">, ("ios" | "android" | "web")[], ("ios" | "android" | "web")[]>;
|
|
422
|
+
declare const webPresentationSchema: z.ZodObject<{
|
|
423
|
+
layout: z.ZodOptional<z.ZodEnum<["modal", "card", "panel"]>>;
|
|
424
|
+
size: z.ZodOptional<z.ZodEnum<["compact", "standard", "wide"]>>;
|
|
425
|
+
position: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
|
|
426
|
+
backdrop: z.ZodOptional<z.ZodBoolean>;
|
|
427
|
+
}, "strict", z.ZodTypeAny, {
|
|
428
|
+
backdrop?: boolean | undefined;
|
|
429
|
+
layout?: "modal" | "card" | "panel" | undefined;
|
|
430
|
+
size?: "compact" | "standard" | "wide" | undefined;
|
|
431
|
+
position?: "left" | "right" | undefined;
|
|
432
|
+
}, {
|
|
433
|
+
backdrop?: boolean | undefined;
|
|
434
|
+
layout?: "modal" | "card" | "panel" | undefined;
|
|
435
|
+
size?: "compact" | "standard" | "wide" | undefined;
|
|
436
|
+
position?: "left" | "right" | undefined;
|
|
437
|
+
}>;
|
|
438
|
+
declare const webOriginSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
439
|
+
declare const webAppConfigSchema: z.ZodObject<{
|
|
440
|
+
allowedOrigins: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
|
|
441
|
+
}, "strict", z.ZodTypeAny, {
|
|
442
|
+
allowedOrigins: string[];
|
|
443
|
+
}, {
|
|
444
|
+
allowedOrigins: string[];
|
|
445
|
+
}>;
|
|
446
|
+
|
|
447
|
+
declare const portalSlugSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
448
|
+
declare const updatePortalSchema: z.ZodObject<{
|
|
449
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
450
|
+
slug: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
451
|
+
setupDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
452
|
+
}, "strict", z.ZodTypeAny, {
|
|
453
|
+
slug?: string | undefined;
|
|
454
|
+
displayName?: string | undefined;
|
|
455
|
+
setupDismissed?: boolean | undefined;
|
|
456
|
+
}, {
|
|
457
|
+
slug?: string | undefined;
|
|
458
|
+
displayName?: string | undefined;
|
|
459
|
+
setupDismissed?: boolean | undefined;
|
|
460
|
+
}>;
|
|
461
|
+
declare const updatePortalAppSchema: z.ZodObject<{
|
|
462
|
+
slug: z.ZodEffects<z.ZodString, string, string>;
|
|
463
|
+
enabled: z.ZodBoolean;
|
|
464
|
+
}, "strict", z.ZodTypeAny, {
|
|
465
|
+
slug: string;
|
|
466
|
+
enabled: boolean;
|
|
467
|
+
}, {
|
|
468
|
+
slug: string;
|
|
469
|
+
enabled: boolean;
|
|
470
|
+
}>;
|
|
471
|
+
declare const portalVisibilitySchema: z.ZodObject<{
|
|
472
|
+
ids: z.ZodArray<z.ZodString, "many">;
|
|
473
|
+
visible: z.ZodBoolean;
|
|
474
|
+
}, "strict", z.ZodTypeAny, {
|
|
475
|
+
ids: string[];
|
|
476
|
+
visible: boolean;
|
|
477
|
+
}, {
|
|
478
|
+
ids: string[];
|
|
479
|
+
visible: boolean;
|
|
480
|
+
}>;
|
|
481
|
+
declare const portalEmailSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
482
|
+
declare const portalAuthStartSchema: z.ZodObject<{
|
|
483
|
+
email: z.ZodEffects<z.ZodString, string, string>;
|
|
484
|
+
}, "strict", z.ZodTypeAny, {
|
|
485
|
+
email: string;
|
|
486
|
+
}, {
|
|
487
|
+
email: string;
|
|
488
|
+
}>;
|
|
489
|
+
declare const portalAuthVerifySchema: z.ZodObject<{
|
|
490
|
+
email: z.ZodEffects<z.ZodString, string, string>;
|
|
491
|
+
code: z.ZodString;
|
|
492
|
+
}, "strict", z.ZodTypeAny, {
|
|
493
|
+
email: string;
|
|
494
|
+
code: string;
|
|
495
|
+
}, {
|
|
496
|
+
email: string;
|
|
497
|
+
code: string;
|
|
498
|
+
}>;
|
|
499
|
+
declare const portalSubmissionSchema: z.ZodObject<{
|
|
500
|
+
title: z.ZodString;
|
|
501
|
+
description: z.ZodString;
|
|
502
|
+
idempotencyKey: z.ZodString;
|
|
503
|
+
feedbackConsent: z.ZodLiteral<true>;
|
|
504
|
+
}, "strict", z.ZodTypeAny, {
|
|
505
|
+
description: string;
|
|
506
|
+
title: string;
|
|
507
|
+
idempotencyKey: string;
|
|
508
|
+
feedbackConsent: true;
|
|
509
|
+
}, {
|
|
510
|
+
description: string;
|
|
511
|
+
title: string;
|
|
512
|
+
idempotencyKey: string;
|
|
513
|
+
feedbackConsent: true;
|
|
514
|
+
}>;
|
|
515
|
+
declare const portalVoteSchema: z.ZodObject<{
|
|
516
|
+
vote: z.ZodBoolean;
|
|
517
|
+
feedbackConsent: z.ZodLiteral<true>;
|
|
518
|
+
}, "strict", z.ZodTypeAny, {
|
|
519
|
+
feedbackConsent: true;
|
|
520
|
+
vote: boolean;
|
|
521
|
+
}, {
|
|
522
|
+
feedbackConsent: true;
|
|
523
|
+
vote: boolean;
|
|
524
|
+
}>;
|
|
525
|
+
declare const portalRequestQuerySchema: z.ZodObject<{
|
|
526
|
+
q: z.ZodOptional<z.ZodString>;
|
|
527
|
+
status: z.ZodOptional<z.ZodEnum<["under_review", "planned", "in_progress", "shipped", "declined"]>>;
|
|
528
|
+
sort: z.ZodDefault<z.ZodEnum<["top", "newest", "status_changed"]>>;
|
|
529
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
530
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
531
|
+
}, "strict", z.ZodTypeAny, {
|
|
532
|
+
sort: "top" | "newest" | "status_changed";
|
|
533
|
+
limit: number;
|
|
534
|
+
page: number;
|
|
535
|
+
status?: "declined" | "in_progress" | "under_review" | "planned" | "shipped" | undefined;
|
|
536
|
+
q?: string | undefined;
|
|
537
|
+
}, {
|
|
538
|
+
status?: "declined" | "in_progress" | "under_review" | "planned" | "shipped" | undefined;
|
|
539
|
+
sort?: "top" | "newest" | "status_changed" | undefined;
|
|
540
|
+
limit?: number | undefined;
|
|
541
|
+
q?: string | undefined;
|
|
542
|
+
page?: number | undefined;
|
|
543
|
+
}>;
|
|
544
|
+
|
|
545
|
+
declare const contentKindSchema: z.ZodEnum<["article", "changelog"]>;
|
|
546
|
+
declare const contentStateSchema: z.ZodEnum<["draft", "published", "archived"]>;
|
|
547
|
+
declare const roadmapStatusSchema: z.ZodEnum<["planned", "in_progress", "shipped"]>;
|
|
548
|
+
declare const contentLinkSchema: z.ZodObject<{
|
|
549
|
+
kind: z.ZodEnum<["request", "roadmap"]>;
|
|
550
|
+
id: z.ZodString;
|
|
551
|
+
}, "strict", z.ZodTypeAny, {
|
|
552
|
+
kind: "roadmap" | "request";
|
|
553
|
+
id: string;
|
|
554
|
+
}, {
|
|
555
|
+
kind: "roadmap" | "request";
|
|
556
|
+
id: string;
|
|
557
|
+
}>;
|
|
558
|
+
declare const contentBodySchema: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, unknown, unknown>, z.ZodType<ContentNode, z.ZodTypeDef, ContentNode>>, ContentNode, unknown>;
|
|
559
|
+
declare const documentDraftSchema: z.ZodObject<{
|
|
560
|
+
title: z.ZodString;
|
|
561
|
+
summary: z.ZodString;
|
|
562
|
+
body: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, unknown, unknown>, z.ZodType<ContentNode, z.ZodTypeDef, ContentNode>>, ContentNode, unknown>;
|
|
563
|
+
collectionId: z.ZodNullable<z.ZodString>;
|
|
564
|
+
category: z.ZodEnum<["new", "improved", "fixed"]>;
|
|
565
|
+
releaseDate: z.ZodEffects<z.ZodString, string, string>;
|
|
566
|
+
version: z.ZodString;
|
|
567
|
+
links: z.ZodArray<z.ZodObject<{
|
|
568
|
+
kind: z.ZodEnum<["request", "roadmap"]>;
|
|
569
|
+
id: z.ZodString;
|
|
570
|
+
}, "strict", z.ZodTypeAny, {
|
|
571
|
+
kind: "roadmap" | "request";
|
|
572
|
+
id: string;
|
|
573
|
+
}, {
|
|
574
|
+
kind: "roadmap" | "request";
|
|
575
|
+
id: string;
|
|
576
|
+
}>, "many">;
|
|
577
|
+
}, "strict", z.ZodTypeAny, {
|
|
578
|
+
title: string;
|
|
579
|
+
body: ContentNode;
|
|
580
|
+
collectionId: string | null;
|
|
581
|
+
category: "fixed" | "new" | "improved";
|
|
582
|
+
summary: string;
|
|
583
|
+
releaseDate: string;
|
|
584
|
+
version: string;
|
|
585
|
+
links: {
|
|
586
|
+
kind: "roadmap" | "request";
|
|
587
|
+
id: string;
|
|
588
|
+
}[];
|
|
589
|
+
}, {
|
|
590
|
+
title: string;
|
|
591
|
+
collectionId: string | null;
|
|
592
|
+
category: "fixed" | "new" | "improved";
|
|
593
|
+
summary: string;
|
|
594
|
+
releaseDate: string;
|
|
595
|
+
version: string;
|
|
596
|
+
links: {
|
|
597
|
+
kind: "roadmap" | "request";
|
|
598
|
+
id: string;
|
|
599
|
+
}[];
|
|
600
|
+
body?: unknown;
|
|
601
|
+
}>;
|
|
602
|
+
declare const createDocumentSchema: z.ZodObject<{
|
|
603
|
+
idempotencyKey: z.ZodString;
|
|
604
|
+
title: z.ZodOptional<z.ZodString>;
|
|
605
|
+
collectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
606
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
607
|
+
kind: z.ZodEnum<["request", "roadmap"]>;
|
|
608
|
+
id: z.ZodString;
|
|
609
|
+
}, "strict", z.ZodTypeAny, {
|
|
610
|
+
kind: "roadmap" | "request";
|
|
611
|
+
id: string;
|
|
612
|
+
}, {
|
|
613
|
+
kind: "roadmap" | "request";
|
|
614
|
+
id: string;
|
|
615
|
+
}>, "many">>;
|
|
616
|
+
}, "strict", z.ZodTypeAny, {
|
|
617
|
+
idempotencyKey: string;
|
|
618
|
+
title?: string | undefined;
|
|
619
|
+
collectionId?: string | null | undefined;
|
|
620
|
+
links?: {
|
|
621
|
+
kind: "roadmap" | "request";
|
|
622
|
+
id: string;
|
|
623
|
+
}[] | undefined;
|
|
624
|
+
}, {
|
|
625
|
+
idempotencyKey: string;
|
|
626
|
+
title?: string | undefined;
|
|
627
|
+
collectionId?: string | null | undefined;
|
|
628
|
+
links?: {
|
|
629
|
+
kind: "roadmap" | "request";
|
|
630
|
+
id: string;
|
|
631
|
+
}[] | undefined;
|
|
632
|
+
}>;
|
|
633
|
+
declare const saveDocumentSchema: z.ZodObject<{
|
|
634
|
+
revision: z.ZodNumber;
|
|
635
|
+
draft: z.ZodObject<{
|
|
636
|
+
title: z.ZodString;
|
|
637
|
+
summary: z.ZodString;
|
|
638
|
+
body: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodUnknown, unknown, unknown>, z.ZodType<ContentNode, z.ZodTypeDef, ContentNode>>, ContentNode, unknown>;
|
|
639
|
+
collectionId: z.ZodNullable<z.ZodString>;
|
|
640
|
+
category: z.ZodEnum<["new", "improved", "fixed"]>;
|
|
641
|
+
releaseDate: z.ZodEffects<z.ZodString, string, string>;
|
|
642
|
+
version: z.ZodString;
|
|
643
|
+
links: z.ZodArray<z.ZodObject<{
|
|
644
|
+
kind: z.ZodEnum<["request", "roadmap"]>;
|
|
645
|
+
id: z.ZodString;
|
|
646
|
+
}, "strict", z.ZodTypeAny, {
|
|
647
|
+
kind: "roadmap" | "request";
|
|
648
|
+
id: string;
|
|
649
|
+
}, {
|
|
650
|
+
kind: "roadmap" | "request";
|
|
651
|
+
id: string;
|
|
652
|
+
}>, "many">;
|
|
653
|
+
}, "strict", z.ZodTypeAny, {
|
|
654
|
+
title: string;
|
|
655
|
+
body: ContentNode;
|
|
656
|
+
collectionId: string | null;
|
|
657
|
+
category: "fixed" | "new" | "improved";
|
|
658
|
+
summary: string;
|
|
659
|
+
releaseDate: string;
|
|
660
|
+
version: string;
|
|
661
|
+
links: {
|
|
662
|
+
kind: "roadmap" | "request";
|
|
663
|
+
id: string;
|
|
664
|
+
}[];
|
|
665
|
+
}, {
|
|
666
|
+
title: string;
|
|
667
|
+
collectionId: string | null;
|
|
668
|
+
category: "fixed" | "new" | "improved";
|
|
669
|
+
summary: string;
|
|
670
|
+
releaseDate: string;
|
|
671
|
+
version: string;
|
|
672
|
+
links: {
|
|
673
|
+
kind: "roadmap" | "request";
|
|
674
|
+
id: string;
|
|
675
|
+
}[];
|
|
676
|
+
body?: unknown;
|
|
677
|
+
}>;
|
|
678
|
+
}, "strict", z.ZodTypeAny, {
|
|
679
|
+
draft: {
|
|
680
|
+
title: string;
|
|
681
|
+
body: ContentNode;
|
|
682
|
+
collectionId: string | null;
|
|
683
|
+
category: "fixed" | "new" | "improved";
|
|
684
|
+
summary: string;
|
|
685
|
+
releaseDate: string;
|
|
686
|
+
version: string;
|
|
687
|
+
links: {
|
|
688
|
+
kind: "roadmap" | "request";
|
|
689
|
+
id: string;
|
|
690
|
+
}[];
|
|
691
|
+
};
|
|
692
|
+
revision: number;
|
|
693
|
+
}, {
|
|
694
|
+
draft: {
|
|
695
|
+
title: string;
|
|
696
|
+
collectionId: string | null;
|
|
697
|
+
category: "fixed" | "new" | "improved";
|
|
698
|
+
summary: string;
|
|
699
|
+
releaseDate: string;
|
|
700
|
+
version: string;
|
|
701
|
+
links: {
|
|
702
|
+
kind: "roadmap" | "request";
|
|
703
|
+
id: string;
|
|
704
|
+
}[];
|
|
705
|
+
body?: unknown;
|
|
706
|
+
};
|
|
707
|
+
revision: number;
|
|
708
|
+
}>;
|
|
709
|
+
declare const contentActionSchema: z.ZodObject<{
|
|
710
|
+
revision: z.ZodNumber;
|
|
711
|
+
action: z.ZodEnum<["publish", "unpublish", "archive", "restore"]>;
|
|
712
|
+
}, "strict", z.ZodTypeAny, {
|
|
713
|
+
action: "publish" | "unpublish" | "archive" | "restore";
|
|
714
|
+
revision: number;
|
|
715
|
+
}, {
|
|
716
|
+
action: "publish" | "unpublish" | "archive" | "restore";
|
|
717
|
+
revision: number;
|
|
718
|
+
}>;
|
|
719
|
+
declare const contentQuerySchema: z.ZodObject<{
|
|
720
|
+
q: z.ZodOptional<z.ZodString>;
|
|
721
|
+
state: z.ZodOptional<z.ZodEnum<["draft", "published", "archived"]>>;
|
|
722
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
723
|
+
category: z.ZodOptional<z.ZodEnum<["new", "improved", "fixed"]>>;
|
|
724
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
725
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
726
|
+
}, "strict", z.ZodTypeAny, {
|
|
727
|
+
limit: number;
|
|
728
|
+
cursor?: string | undefined;
|
|
729
|
+
q?: string | undefined;
|
|
730
|
+
state?: "draft" | "archived" | "published" | undefined;
|
|
731
|
+
collectionId?: string | undefined;
|
|
732
|
+
category?: "fixed" | "new" | "improved" | undefined;
|
|
733
|
+
}, {
|
|
734
|
+
cursor?: string | undefined;
|
|
735
|
+
limit?: number | undefined;
|
|
736
|
+
q?: string | undefined;
|
|
737
|
+
state?: "draft" | "archived" | "published" | undefined;
|
|
738
|
+
collectionId?: string | undefined;
|
|
739
|
+
category?: "fixed" | "new" | "improved" | undefined;
|
|
740
|
+
}>;
|
|
741
|
+
declare const createCollectionSchema: z.ZodObject<{
|
|
742
|
+
title: z.ZodString;
|
|
743
|
+
description: z.ZodString;
|
|
744
|
+
idempotencyKey: z.ZodString;
|
|
745
|
+
}, "strict", z.ZodTypeAny, {
|
|
746
|
+
description: string;
|
|
747
|
+
title: string;
|
|
748
|
+
idempotencyKey: string;
|
|
749
|
+
}, {
|
|
750
|
+
description: string;
|
|
751
|
+
title: string;
|
|
752
|
+
idempotencyKey: string;
|
|
753
|
+
}>;
|
|
754
|
+
declare const contentPageQuerySchema: z.ZodObject<Pick<{
|
|
755
|
+
q: z.ZodOptional<z.ZodString>;
|
|
756
|
+
state: z.ZodOptional<z.ZodEnum<["draft", "published", "archived"]>>;
|
|
757
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
758
|
+
category: z.ZodOptional<z.ZodEnum<["new", "improved", "fixed"]>>;
|
|
759
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
760
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
761
|
+
}, "cursor" | "limit">, "strict", z.ZodTypeAny, {
|
|
762
|
+
limit: number;
|
|
763
|
+
cursor?: string | undefined;
|
|
764
|
+
}, {
|
|
765
|
+
cursor?: string | undefined;
|
|
766
|
+
limit?: number | undefined;
|
|
767
|
+
}>;
|
|
768
|
+
declare const portalAssetUploadKeySchema: z.ZodString;
|
|
769
|
+
declare const updateCollectionSchema: z.ZodObject<{
|
|
770
|
+
revision: z.ZodNumber;
|
|
771
|
+
title: z.ZodOptional<z.ZodString>;
|
|
772
|
+
description: z.ZodOptional<z.ZodString>;
|
|
773
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
774
|
+
}, "strict", z.ZodTypeAny, {
|
|
775
|
+
revision: number;
|
|
776
|
+
description?: string | undefined;
|
|
777
|
+
archived?: boolean | undefined;
|
|
778
|
+
title?: string | undefined;
|
|
779
|
+
}, {
|
|
780
|
+
revision: number;
|
|
781
|
+
description?: string | undefined;
|
|
782
|
+
archived?: boolean | undefined;
|
|
783
|
+
title?: string | undefined;
|
|
784
|
+
}>;
|
|
785
|
+
declare const reorderContentSchema: z.ZodObject<{
|
|
786
|
+
revision: z.ZodNumber;
|
|
787
|
+
direction: z.ZodEnum<["up", "down"]>;
|
|
788
|
+
}, "strict", z.ZodTypeAny, {
|
|
789
|
+
revision: number;
|
|
790
|
+
direction: "up" | "down";
|
|
791
|
+
}, {
|
|
792
|
+
revision: number;
|
|
793
|
+
direction: "up" | "down";
|
|
794
|
+
}>;
|
|
795
|
+
declare const roadmapQuerySchema: z.ZodObject<{
|
|
796
|
+
status: z.ZodEnum<["planned", "in_progress", "shipped"]>;
|
|
797
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
798
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
799
|
+
archived: z.ZodOptional<z.ZodEffects<z.ZodEnum<["true", "false"]>, boolean, "true" | "false">>;
|
|
800
|
+
}, "strict", z.ZodTypeAny, {
|
|
801
|
+
status: "in_progress" | "planned" | "shipped";
|
|
802
|
+
limit: number;
|
|
803
|
+
archived?: boolean | undefined;
|
|
804
|
+
cursor?: string | undefined;
|
|
805
|
+
}, {
|
|
806
|
+
status: "in_progress" | "planned" | "shipped";
|
|
807
|
+
archived?: "true" | "false" | undefined;
|
|
808
|
+
cursor?: string | undefined;
|
|
809
|
+
limit?: number | undefined;
|
|
810
|
+
}>;
|
|
811
|
+
declare const createRoadmapSchema: z.ZodObject<{
|
|
812
|
+
idempotencyKey: z.ZodString;
|
|
813
|
+
status: z.ZodEnum<["planned", "in_progress", "shipped"]>;
|
|
814
|
+
title: z.ZodString;
|
|
815
|
+
description: z.ZodString;
|
|
816
|
+
requestIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
817
|
+
}, "strict", z.ZodTypeAny, {
|
|
818
|
+
description: string;
|
|
819
|
+
title: string;
|
|
820
|
+
status: "in_progress" | "planned" | "shipped";
|
|
821
|
+
idempotencyKey: string;
|
|
822
|
+
requestIds: string[];
|
|
823
|
+
}, {
|
|
824
|
+
description: string;
|
|
825
|
+
title: string;
|
|
826
|
+
status: "in_progress" | "planned" | "shipped";
|
|
827
|
+
idempotencyKey: string;
|
|
828
|
+
requestIds: string[];
|
|
829
|
+
}>;
|
|
830
|
+
declare const saveRoadmapSchema: z.ZodObject<{
|
|
831
|
+
revision: z.ZodNumber;
|
|
832
|
+
title: z.ZodString;
|
|
833
|
+
description: z.ZodString;
|
|
834
|
+
requestIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
835
|
+
}, "strict", z.ZodTypeAny, {
|
|
836
|
+
description: string;
|
|
837
|
+
title: string;
|
|
838
|
+
revision: number;
|
|
839
|
+
requestIds: string[];
|
|
840
|
+
}, {
|
|
841
|
+
description: string;
|
|
842
|
+
title: string;
|
|
843
|
+
revision: number;
|
|
844
|
+
requestIds: string[];
|
|
845
|
+
}>;
|
|
846
|
+
declare const moveRoadmapSchema: z.ZodObject<{
|
|
847
|
+
revision: z.ZodNumber;
|
|
848
|
+
status: z.ZodEnum<["planned", "in_progress", "shipped"]>;
|
|
849
|
+
requests: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
850
|
+
id: z.ZodString;
|
|
851
|
+
updatedAt: z.ZodString;
|
|
852
|
+
}, "strict", z.ZodTypeAny, {
|
|
853
|
+
id: string;
|
|
854
|
+
updatedAt: string;
|
|
855
|
+
}, {
|
|
856
|
+
id: string;
|
|
857
|
+
updatedAt: string;
|
|
858
|
+
}>, "many">, {
|
|
859
|
+
id: string;
|
|
860
|
+
updatedAt: string;
|
|
861
|
+
}[], {
|
|
862
|
+
id: string;
|
|
863
|
+
updatedAt: string;
|
|
864
|
+
}[]>;
|
|
865
|
+
}, "strict", z.ZodTypeAny, {
|
|
866
|
+
requests: {
|
|
867
|
+
id: string;
|
|
868
|
+
updatedAt: string;
|
|
869
|
+
}[];
|
|
870
|
+
status: "in_progress" | "planned" | "shipped";
|
|
871
|
+
revision: number;
|
|
872
|
+
}, {
|
|
873
|
+
requests: {
|
|
874
|
+
id: string;
|
|
875
|
+
updatedAt: string;
|
|
876
|
+
}[];
|
|
877
|
+
status: "in_progress" | "planned" | "shipped";
|
|
878
|
+
revision: number;
|
|
879
|
+
}>;
|
|
880
|
+
declare const contentLinkQuerySchema: z.ZodObject<{
|
|
881
|
+
kind: z.ZodEnum<["request", "roadmap"]>;
|
|
882
|
+
q: z.ZodOptional<z.ZodString>;
|
|
883
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
884
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
885
|
+
ids: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
886
|
+
}, "strict", z.ZodTypeAny, {
|
|
887
|
+
kind: "roadmap" | "request";
|
|
888
|
+
limit: number;
|
|
889
|
+
cursor?: string | undefined;
|
|
890
|
+
q?: string | undefined;
|
|
891
|
+
ids?: string | undefined;
|
|
892
|
+
}, {
|
|
893
|
+
kind: "roadmap" | "request";
|
|
894
|
+
cursor?: string | undefined;
|
|
895
|
+
limit?: number | undefined;
|
|
896
|
+
q?: string | undefined;
|
|
897
|
+
ids?: string | undefined;
|
|
898
|
+
}>;
|
|
899
|
+
|
|
900
|
+
declare const mcpCapabilitySchema: z.ZodEffects<z.ZodString, string, string>;
|
|
901
|
+
declare const mcpGrantSchema: z.ZodObject<{
|
|
902
|
+
name: z.ZodDefault<z.ZodString>;
|
|
903
|
+
appIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
904
|
+
capabilities: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
905
|
+
mode: z.ZodDefault<z.ZodEnum<["read_only", "approve_changes", "automatic"]>>;
|
|
906
|
+
}, "strict", z.ZodTypeAny, {
|
|
907
|
+
mode: "read_only" | "approve_changes" | "automatic";
|
|
908
|
+
name: string;
|
|
909
|
+
appIds: string[];
|
|
910
|
+
capabilities: string[];
|
|
911
|
+
}, {
|
|
912
|
+
appIds: string[];
|
|
913
|
+
mode?: "read_only" | "approve_changes" | "automatic" | undefined;
|
|
914
|
+
name?: string | undefined;
|
|
915
|
+
capabilities?: string[] | undefined;
|
|
916
|
+
}>;
|
|
917
|
+
declare const mcpConsentSchema: z.ZodObject<{
|
|
918
|
+
name: z.ZodDefault<z.ZodString>;
|
|
919
|
+
appIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
920
|
+
capabilities: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
921
|
+
mode: z.ZodDefault<z.ZodEnum<["read_only", "approve_changes", "automatic"]>>;
|
|
922
|
+
} & {
|
|
923
|
+
workspaceId: z.ZodString;
|
|
924
|
+
externalAuthId: z.ZodString;
|
|
925
|
+
}, "strict", z.ZodTypeAny, {
|
|
926
|
+
mode: "read_only" | "approve_changes" | "automatic";
|
|
927
|
+
name: string;
|
|
928
|
+
appIds: string[];
|
|
929
|
+
capabilities: string[];
|
|
930
|
+
workspaceId: string;
|
|
931
|
+
externalAuthId: string;
|
|
932
|
+
}, {
|
|
933
|
+
appIds: string[];
|
|
934
|
+
workspaceId: string;
|
|
935
|
+
externalAuthId: string;
|
|
936
|
+
mode?: "read_only" | "approve_changes" | "automatic" | undefined;
|
|
937
|
+
name?: string | undefined;
|
|
938
|
+
capabilities?: string[] | undefined;
|
|
939
|
+
}>;
|
|
940
|
+
declare const mcpUpdateConnectionSchema: z.ZodObject<{
|
|
941
|
+
name: z.ZodDefault<z.ZodString>;
|
|
942
|
+
appIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
943
|
+
capabilities: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
944
|
+
mode: z.ZodDefault<z.ZodEnum<["read_only", "approve_changes", "automatic"]>>;
|
|
945
|
+
} & {
|
|
946
|
+
policyVersion: z.ZodNumber;
|
|
947
|
+
}, "strict", z.ZodTypeAny, {
|
|
948
|
+
mode: "read_only" | "approve_changes" | "automatic";
|
|
949
|
+
name: string;
|
|
950
|
+
appIds: string[];
|
|
951
|
+
capabilities: string[];
|
|
952
|
+
policyVersion: number;
|
|
953
|
+
}, {
|
|
954
|
+
appIds: string[];
|
|
955
|
+
policyVersion: number;
|
|
956
|
+
mode?: "read_only" | "approve_changes" | "automatic" | undefined;
|
|
957
|
+
name?: string | undefined;
|
|
958
|
+
capabilities?: string[] | undefined;
|
|
959
|
+
}>;
|
|
960
|
+
declare const subjectRefSchema: z.ZodUnion<[z.ZodObject<{
|
|
961
|
+
subjectId: z.ZodString;
|
|
962
|
+
}, "strict", z.ZodTypeAny, {
|
|
963
|
+
subjectId: string;
|
|
964
|
+
}, {
|
|
965
|
+
subjectId: string;
|
|
966
|
+
}>, z.ZodObject<{
|
|
967
|
+
externalId: z.ZodString;
|
|
968
|
+
}, "strict", z.ZodTypeAny, {
|
|
969
|
+
externalId: string;
|
|
970
|
+
}, {
|
|
971
|
+
externalId: string;
|
|
972
|
+
}>, z.ZodObject<{
|
|
973
|
+
anonymousId: z.ZodString;
|
|
974
|
+
}, "strict", z.ZodTypeAny, {
|
|
975
|
+
anonymousId: string;
|
|
976
|
+
}, {
|
|
977
|
+
anonymousId: string;
|
|
978
|
+
}>]>;
|
|
979
|
+
declare const mcpPageSchema: z.ZodObject<{
|
|
980
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
981
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
982
|
+
}, "strip", z.ZodTypeAny, {
|
|
983
|
+
limit: number;
|
|
984
|
+
cursor?: string | undefined;
|
|
985
|
+
}, {
|
|
986
|
+
cursor?: string | undefined;
|
|
987
|
+
limit?: number | undefined;
|
|
988
|
+
}>;
|
|
989
|
+
declare const mcpSearchSchema: z.ZodObject<{
|
|
990
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
991
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
992
|
+
} & {
|
|
993
|
+
query: z.ZodString;
|
|
994
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<["request", "feedback_answer", "survey_answer", "roadmap", "article", "changelog"]>, "many">>;
|
|
995
|
+
variant: z.ZodOptional<z.ZodEnum<["draft", "published", "record"]>>;
|
|
996
|
+
}, "strip", z.ZodTypeAny, {
|
|
997
|
+
limit: number;
|
|
998
|
+
query: string;
|
|
999
|
+
cursor?: string | undefined;
|
|
1000
|
+
types?: ("roadmap" | "changelog" | "article" | "request" | "feedback_answer" | "survey_answer")[] | undefined;
|
|
1001
|
+
variant?: "draft" | "published" | "record" | undefined;
|
|
1002
|
+
}, {
|
|
1003
|
+
query: string;
|
|
1004
|
+
cursor?: string | undefined;
|
|
1005
|
+
limit?: number | undefined;
|
|
1006
|
+
types?: ("roadmap" | "changelog" | "article" | "request" | "feedback_answer" | "survey_answer")[] | undefined;
|
|
1007
|
+
variant?: "draft" | "published" | "record" | undefined;
|
|
1008
|
+
}>;
|
|
1009
|
+
|
|
200
1010
|
/**
|
|
201
1011
|
* Shared Zod schemas — single source of truth for request/response validation.
|
|
202
1012
|
*
|
|
@@ -221,30 +1031,83 @@ type index_LoginPasswordBody = LoginPasswordBody;
|
|
|
221
1031
|
type index_RotateWriteKeyBody = RotateWriteKeyBody;
|
|
222
1032
|
type index_SignupBody = SignupBody;
|
|
223
1033
|
type index_UpdateAppBody = UpdateAppBody;
|
|
1034
|
+
type index_UpdateCurrentUserBody = UpdateCurrentUserBody;
|
|
1035
|
+
type index_UpdateOnboardingBody = UpdateOnboardingBody;
|
|
1036
|
+
type index_UpdateWorkspaceBody = UpdateWorkspaceBody;
|
|
224
1037
|
type index_WorkspaceRoleInput = WorkspaceRoleInput;
|
|
225
1038
|
declare const index_acceptWorkspaceInviteSchema: typeof acceptWorkspaceInviteSchema;
|
|
226
1039
|
declare const index_apiTokenScopeSchema: typeof apiTokenScopeSchema;
|
|
1040
|
+
declare const index_contentActionSchema: typeof contentActionSchema;
|
|
1041
|
+
declare const index_contentBodySchema: typeof contentBodySchema;
|
|
1042
|
+
declare const index_contentKindSchema: typeof contentKindSchema;
|
|
1043
|
+
declare const index_contentLinkQuerySchema: typeof contentLinkQuerySchema;
|
|
1044
|
+
declare const index_contentLinkSchema: typeof contentLinkSchema;
|
|
1045
|
+
declare const index_contentPageQuerySchema: typeof contentPageQuerySchema;
|
|
1046
|
+
declare const index_contentQuerySchema: typeof contentQuerySchema;
|
|
1047
|
+
declare const index_contentStateSchema: typeof contentStateSchema;
|
|
227
1048
|
declare const index_createApiTokenSchema: typeof createApiTokenSchema;
|
|
228
1049
|
declare const index_createAppSchema: typeof createAppSchema;
|
|
1050
|
+
declare const index_createCollectionSchema: typeof createCollectionSchema;
|
|
1051
|
+
declare const index_createDocumentSchema: typeof createDocumentSchema;
|
|
1052
|
+
declare const index_createRoadmapSchema: typeof createRoadmapSchema;
|
|
229
1053
|
declare const index_createWorkspaceSchema: typeof createWorkspaceSchema;
|
|
230
1054
|
declare const index_createWriteKeySchema: typeof createWriteKeySchema;
|
|
1055
|
+
declare const index_deferCurrentUserOnboardingSchema: typeof deferCurrentUserOnboardingSchema;
|
|
1056
|
+
declare const index_deliveryPlatformsSchema: typeof deliveryPlatformsSchema;
|
|
1057
|
+
declare const index_documentDraftSchema: typeof documentDraftSchema;
|
|
231
1058
|
declare const index_emailSchema: typeof emailSchema;
|
|
232
1059
|
declare const index_inviteMemberSchema: typeof inviteMemberSchema;
|
|
233
1060
|
declare const index_isoDateTimeSchema: typeof isoDateTimeSchema;
|
|
234
1061
|
declare const index_loginMagicLinkConsumeRequestSchema: typeof loginMagicLinkConsumeRequestSchema;
|
|
235
1062
|
declare const index_loginMagicLinkRequestSchema: typeof loginMagicLinkRequestSchema;
|
|
236
1063
|
declare const index_loginPasswordRequestSchema: typeof loginPasswordRequestSchema;
|
|
1064
|
+
declare const index_mcpCapabilitySchema: typeof mcpCapabilitySchema;
|
|
1065
|
+
declare const index_mcpConsentSchema: typeof mcpConsentSchema;
|
|
1066
|
+
declare const index_mcpGrantSchema: typeof mcpGrantSchema;
|
|
1067
|
+
declare const index_mcpPageSchema: typeof mcpPageSchema;
|
|
1068
|
+
declare const index_mcpSearchSchema: typeof mcpSearchSchema;
|
|
1069
|
+
declare const index_mcpUpdateConnectionSchema: typeof mcpUpdateConnectionSchema;
|
|
1070
|
+
declare const index_moveRoadmapSchema: typeof moveRoadmapSchema;
|
|
1071
|
+
declare const index_onboardingGoalSchema: typeof onboardingGoalSchema;
|
|
1072
|
+
declare const index_onboardingPushChoiceSchema: typeof onboardingPushChoiceSchema;
|
|
1073
|
+
declare const index_onboardingStatusSchema: typeof onboardingStatusSchema;
|
|
1074
|
+
declare const index_onboardingStepSchema: typeof onboardingStepSchema;
|
|
237
1075
|
declare const index_passwordSchema: typeof passwordSchema;
|
|
238
1076
|
declare const index_platformSchema: typeof platformSchema;
|
|
1077
|
+
declare const index_portalAssetUploadKeySchema: typeof portalAssetUploadKeySchema;
|
|
1078
|
+
declare const index_portalAuthStartSchema: typeof portalAuthStartSchema;
|
|
1079
|
+
declare const index_portalAuthVerifySchema: typeof portalAuthVerifySchema;
|
|
1080
|
+
declare const index_portalEmailSchema: typeof portalEmailSchema;
|
|
1081
|
+
declare const index_portalRequestQuerySchema: typeof portalRequestQuerySchema;
|
|
1082
|
+
declare const index_portalSlugSchema: typeof portalSlugSchema;
|
|
1083
|
+
declare const index_portalSubmissionSchema: typeof portalSubmissionSchema;
|
|
1084
|
+
declare const index_portalVisibilitySchema: typeof portalVisibilitySchema;
|
|
1085
|
+
declare const index_portalVoteSchema: typeof portalVoteSchema;
|
|
1086
|
+
declare const index_reorderContentSchema: typeof reorderContentSchema;
|
|
1087
|
+
declare const index_roadmapQuerySchema: typeof roadmapQuerySchema;
|
|
1088
|
+
declare const index_roadmapStatusSchema: typeof roadmapStatusSchema;
|
|
239
1089
|
declare const index_rotateWriteKeySchema: typeof rotateWriteKeySchema;
|
|
1090
|
+
declare const index_saveDocumentSchema: typeof saveDocumentSchema;
|
|
1091
|
+
declare const index_saveRoadmapSchema: typeof saveRoadmapSchema;
|
|
240
1092
|
declare const index_signupRequestSchema: typeof signupRequestSchema;
|
|
241
1093
|
declare const index_slugSchema: typeof slugSchema;
|
|
1094
|
+
declare const index_subjectRefSchema: typeof subjectRefSchema;
|
|
242
1095
|
declare const index_updateAppSchema: typeof updateAppSchema;
|
|
1096
|
+
declare const index_updateCollectionSchema: typeof updateCollectionSchema;
|
|
1097
|
+
declare const index_updateCurrentUserSchema: typeof updateCurrentUserSchema;
|
|
1098
|
+
declare const index_updateOnboardingSchema: typeof updateOnboardingSchema;
|
|
1099
|
+
declare const index_updatePortalAppSchema: typeof updatePortalAppSchema;
|
|
1100
|
+
declare const index_updatePortalSchema: typeof updatePortalSchema;
|
|
1101
|
+
declare const index_updateWorkspaceSchema: typeof updateWorkspaceSchema;
|
|
243
1102
|
declare const index_uuidSchema: typeof uuidSchema;
|
|
1103
|
+
declare const index_webAppConfigSchema: typeof webAppConfigSchema;
|
|
1104
|
+
declare const index_webOriginSchema: typeof webOriginSchema;
|
|
1105
|
+
declare const index_webPresentationSchema: typeof webPresentationSchema;
|
|
244
1106
|
declare const index_workspaceRoleSchema: typeof workspaceRoleSchema;
|
|
1107
|
+
declare const index_workspaceTimezoneSchema: typeof workspaceTimezoneSchema;
|
|
245
1108
|
declare const index_writeKeyEnvironmentSchema: typeof writeKeyEnvironmentSchema;
|
|
246
1109
|
declare namespace index {
|
|
247
|
-
export { type index_AcceptWorkspaceInviteBody as AcceptWorkspaceInviteBody, type index_CreateApiTokenBody as CreateApiTokenBody, type index_CreateAppBody as CreateAppBody, type index_CreateWorkspaceBody as CreateWorkspaceBody, type index_CreateWriteKeyBody as CreateWriteKeyBody, type index_InviteMemberBody as InviteMemberBody, type index_LoginMagicLinkBody as LoginMagicLinkBody, type index_LoginMagicLinkConsumeBody as LoginMagicLinkConsumeBody, type index_LoginPasswordBody as LoginPasswordBody, type index_RotateWriteKeyBody as RotateWriteKeyBody, type index_SignupBody as SignupBody, type index_UpdateAppBody as UpdateAppBody, type index_WorkspaceRoleInput as WorkspaceRoleInput, index_acceptWorkspaceInviteSchema as acceptWorkspaceInviteSchema, index_apiTokenScopeSchema as apiTokenScopeSchema, index_createApiTokenSchema as createApiTokenSchema, index_createAppSchema as createAppSchema, index_createWorkspaceSchema as createWorkspaceSchema, index_createWriteKeySchema as createWriteKeySchema, index_emailSchema as emailSchema, index_inviteMemberSchema as inviteMemberSchema, index_isoDateTimeSchema as isoDateTimeSchema, index_loginMagicLinkConsumeRequestSchema as loginMagicLinkConsumeRequestSchema, index_loginMagicLinkRequestSchema as loginMagicLinkRequestSchema, index_loginPasswordRequestSchema as loginPasswordRequestSchema, index_passwordSchema as passwordSchema, index_platformSchema as platformSchema, index_rotateWriteKeySchema as rotateWriteKeySchema, index_signupRequestSchema as signupRequestSchema, index_slugSchema as slugSchema, index_updateAppSchema as updateAppSchema, index_uuidSchema as uuidSchema, index_workspaceRoleSchema as workspaceRoleSchema, index_writeKeyEnvironmentSchema as writeKeyEnvironmentSchema };
|
|
1110
|
+
export { type index_AcceptWorkspaceInviteBody as AcceptWorkspaceInviteBody, type index_CreateApiTokenBody as CreateApiTokenBody, type index_CreateAppBody as CreateAppBody, type index_CreateWorkspaceBody as CreateWorkspaceBody, type index_CreateWriteKeyBody as CreateWriteKeyBody, type index_InviteMemberBody as InviteMemberBody, type index_LoginMagicLinkBody as LoginMagicLinkBody, type index_LoginMagicLinkConsumeBody as LoginMagicLinkConsumeBody, type index_LoginPasswordBody as LoginPasswordBody, type index_RotateWriteKeyBody as RotateWriteKeyBody, type index_SignupBody as SignupBody, type index_UpdateAppBody as UpdateAppBody, type index_UpdateCurrentUserBody as UpdateCurrentUserBody, type index_UpdateOnboardingBody as UpdateOnboardingBody, type index_UpdateWorkspaceBody as UpdateWorkspaceBody, type index_WorkspaceRoleInput as WorkspaceRoleInput, index_acceptWorkspaceInviteSchema as acceptWorkspaceInviteSchema, index_apiTokenScopeSchema as apiTokenScopeSchema, index_contentActionSchema as contentActionSchema, index_contentBodySchema as contentBodySchema, index_contentKindSchema as contentKindSchema, index_contentLinkQuerySchema as contentLinkQuerySchema, index_contentLinkSchema as contentLinkSchema, index_contentPageQuerySchema as contentPageQuerySchema, index_contentQuerySchema as contentQuerySchema, index_contentStateSchema as contentStateSchema, index_createApiTokenSchema as createApiTokenSchema, index_createAppSchema as createAppSchema, index_createCollectionSchema as createCollectionSchema, index_createDocumentSchema as createDocumentSchema, index_createRoadmapSchema as createRoadmapSchema, index_createWorkspaceSchema as createWorkspaceSchema, index_createWriteKeySchema as createWriteKeySchema, index_deferCurrentUserOnboardingSchema as deferCurrentUserOnboardingSchema, index_deliveryPlatformsSchema as deliveryPlatformsSchema, index_documentDraftSchema as documentDraftSchema, index_emailSchema as emailSchema, index_inviteMemberSchema as inviteMemberSchema, index_isoDateTimeSchema as isoDateTimeSchema, index_loginMagicLinkConsumeRequestSchema as loginMagicLinkConsumeRequestSchema, index_loginMagicLinkRequestSchema as loginMagicLinkRequestSchema, index_loginPasswordRequestSchema as loginPasswordRequestSchema, index_mcpCapabilitySchema as mcpCapabilitySchema, index_mcpConsentSchema as mcpConsentSchema, index_mcpGrantSchema as mcpGrantSchema, index_mcpPageSchema as mcpPageSchema, index_mcpSearchSchema as mcpSearchSchema, index_mcpUpdateConnectionSchema as mcpUpdateConnectionSchema, index_moveRoadmapSchema as moveRoadmapSchema, index_onboardingGoalSchema as onboardingGoalSchema, index_onboardingPushChoiceSchema as onboardingPushChoiceSchema, index_onboardingStatusSchema as onboardingStatusSchema, index_onboardingStepSchema as onboardingStepSchema, index_passwordSchema as passwordSchema, index_platformSchema as platformSchema, index_portalAssetUploadKeySchema as portalAssetUploadKeySchema, index_portalAuthStartSchema as portalAuthStartSchema, index_portalAuthVerifySchema as portalAuthVerifySchema, index_portalEmailSchema as portalEmailSchema, index_portalRequestQuerySchema as portalRequestQuerySchema, index_portalSlugSchema as portalSlugSchema, index_portalSubmissionSchema as portalSubmissionSchema, index_portalVisibilitySchema as portalVisibilitySchema, index_portalVoteSchema as portalVoteSchema, index_reorderContentSchema as reorderContentSchema, index_roadmapQuerySchema as roadmapQuerySchema, index_roadmapStatusSchema as roadmapStatusSchema, index_rotateWriteKeySchema as rotateWriteKeySchema, index_saveDocumentSchema as saveDocumentSchema, index_saveRoadmapSchema as saveRoadmapSchema, index_signupRequestSchema as signupRequestSchema, index_slugSchema as slugSchema, index_subjectRefSchema as subjectRefSchema, index_updateAppSchema as updateAppSchema, index_updateCollectionSchema as updateCollectionSchema, index_updateCurrentUserSchema as updateCurrentUserSchema, index_updateOnboardingSchema as updateOnboardingSchema, index_updatePortalAppSchema as updatePortalAppSchema, index_updatePortalSchema as updatePortalSchema, index_updateWorkspaceSchema as updateWorkspaceSchema, index_uuidSchema as uuidSchema, index_webAppConfigSchema as webAppConfigSchema, index_webOriginSchema as webOriginSchema, index_webPresentationSchema as webPresentationSchema, index_workspaceRoleSchema as workspaceRoleSchema, index_workspaceTimezoneSchema as workspaceTimezoneSchema, index_writeKeyEnvironmentSchema as writeKeyEnvironmentSchema };
|
|
248
1111
|
}
|
|
249
1112
|
|
|
250
|
-
export { BILLING_GRACE_DAYS, BillingInterval, BillingPriceKind, COMMERCIAL_BILLING_PLANS, type CommercialPlanDefinition, STARTER_FOUNDING_CUSTOMER_LIMIT, STARTER_FOUNDING_OFFER_CODE, TRIAL_APP_LIMIT, TRIAL_DAYS, index as schemas };
|
|
1113
|
+
export { BILLING_GRACE_DAYS, BillingInterval, BillingPriceKind, COMMERCIAL_BILLING_PLANS, type CommercialPlanDefinition, ContentNode, STARTER_FOUNDING_CUSTOMER_LIMIT, STARTER_FOUNDING_OFFER_CODE, TRIAL_APP_LIMIT, TRIAL_DAYS, type ZonedDateTimeParts, isValidIanaTimeZone, index as schemas, zonedDateEndToUtc, zonedDateTimeParts, zonedDateTimeToUtc };
|