@guidelytech/shared 0.15.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/{chunk-XJXXVV3C.js → chunk-7PWYIAJI.js} +30 -1
- package/dist/chunk-7PWYIAJI.js.map +1 -0
- package/dist/index.cjs +74 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +231 -645
- package/dist/index.d.ts +231 -645
- package/dist/index.js +49 -10
- package/dist/index.js.map +1 -1
- package/dist/runtime-CAtOOY7X.d.cts +3047 -0
- package/dist/runtime-CAtOOY7X.d.ts +3047 -0
- package/dist/runtime.cjs +35 -0
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.d.cts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +13 -1
- package/package.json +3 -3
- package/dist/chunk-OLWGMDRX.js +0 -729
- package/dist/chunk-OLWGMDRX.js.map +0 -1
- package/dist/chunk-TGIUEYXM.js +0 -1937
- package/dist/chunk-TGIUEYXM.js.map +0 -1
- package/dist/chunk-UW6NRYRY.js +0 -809
- package/dist/chunk-UW6NRYRY.js.map +0 -1
- package/dist/chunk-XJXXVV3C.js.map +0 -1
- package/dist/runtime-BM5cztmJ.d.cts +0 -5234
- package/dist/runtime-BM5cztmJ.d.ts +0 -5234
- package/dist/runtime-BeSHQtNX.d.cts +0 -5263
- package/dist/runtime-BeSHQtNX.d.ts +0 -5263
- package/dist/runtime-DjEAlb_Q.d.cts +0 -5268
- package/dist/runtime-DjEAlb_Q.d.ts +0 -5268
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { R as RuleGroup, a as Rule, G as GuideKind, b as GuideConfigInput } from './runtime-
|
|
2
|
-
export { A as ADVANCE_ON, c as AGENT_METADATA_MAX_BYTES, d as AGENT_METADATA_MAX_KEYS, e as AGENT_OUTCOMES, f as AGENT_TOOL_CALLS_PER_TURN, g as AGENT_TOOL_STATUSES, h as AGENT_TURNS_PER_BATCH, i as AGENT_TURN_MAX_TEXT, j as AGENT_TURN_ROLES, k as ANNOTATION_COLORS, l as ARTICLE_VISIBILITIES, m as AgentEventsResponse, n as AgentOutcome, o as AgentToolCallInput, p as AgentToolStatus, q as AgentTurnInput, r as AgentTurnRole, s as AnnotationColor, t as ApiError, u as AppSnapshot, v as Appearance, w as AppearanceSchema, x as ArticleVisibility, y as AttrOp, z as AttrTest, B as AuthoringPick, C as AuthoringPickSchema, D as AuthoringSessionInfo, E as AutocaptureSettings, F as AutocaptureSettingsSchema, H as BUTTON_ACTIONS, I as ButtonSchema, J as CAPTURE_PARAM, K as CAPTURE_SCREENSHOT_MAX_BYTES, L as COMMON_LOCALES, M as COMPLAINT_EVENTS, N as COMPLAINT_FIELD_TYPES, O as COMPLAINT_STATUSES, P as CONTROL_VARIANT_ID, Q as CaptureSessionInfo, S as CaptureSettings, T as CaptureStep, U as CaptureStepInput, V as CaptureStepSchema, W as CapturedElement, X as CapturedElementSchema, Y as ChecklistConfig, Z as ChecklistConfigSchema, _ as ChecklistProgressRequest, $ as ChecklistProgressRequestSchema, a0 as ChecklistTask, a1 as ChecklistTaskSchema, a2 as ClickFacts, a3 as ComplaintEvent, a4 as ComplaintField, a5 as ComplaintFieldType, a6 as ComplaintStatus, a7 as ComplexSelector, a8 as Compound, a9 as ContrastIssue, aa as ConversationLookupResponse, ab as ConversationLookupSchema, ac as ConversationMessagesResponse, ad as ConversationRatingSchema, ae as ConversationStatus, af as DEFAULT_CAPTURE_SETTINGS, ag as DEFAULT_FEATURE_ATTRIBUTE, ah as DEFAULT_LOCALE, ai as DEFAULT_PLATFORMS, aj as EMBED_IFRAME_ATTRS, ak as ElementNode, al as ElementSnapshot, am as EmbedProvider, an as ErrorTrackingSettings, ao as ErrorTrackingSettingsSchema, ap as ExceptionProperties, aq as FEATURE_ATTRIBUTE_PATTERN, ar as FEATURE_RULE_LIMITS, as as FEEDBACK_EVENTS, at as FEEDBACK_PRIORITIES, au as FEEDBACK_PRIORITY_LABEL, av as FEEDBACK_PRIORITY_WEIGHT, aw as FEEDBACK_STATUSES, ax as FEEDBACK_STATUS_LABEL, ay as FILE_LINK_CLASS, az as FeatureRule, aA as FeedbackEvent, aB as FeedbackPriority, aC as FeedbackStatus, aD as FeedbackUpdate, aE as FeedbackUpdatesResponse, aF as FileComplaintResponse, aG as FrequencyConfig, aH as FrequencySchema, aI as GUIDELY_ID_ATTRIBUTE, aJ as GUIDE_EXPERIMENT_GOALS, aK as GUIDE_EXPERIMENT_GOAL_LABELS, aL as GUIDE_EXPERIMENT_STATUSES, aM as GUIDE_KINDS, aN as GUIDE_STATUSES, aO as GUIDE_VISIBILITIES, aP as GuideConfig, aQ as GuideConfigSchema, aR as GuideExperimentGoal, aS as GuideExperimentGoalKind, aT as GuideExperimentStatus, aU as GuideExperimentVariant, aV as GuideHoldout, aW as GuideLocalization, aX as GuideLocalizationSchema, aY as GuideSchedule, aZ as GuideScheduleSchema, a_ as GuideStateUpdateSchema, a$ as GuideStatus, b0 as GuideStep, b1 as GuideStepInput, b2 as GuideThrottlingSchema, b3 as GuideThrottlingSettings, b4 as GuideVisibility, b5 as HEATMAP_VIEWPORTS, b6 as HOWTO_ACTIONS, b7 as HOWTO_STEP_KINDS, b8 as HeatmapPoint, b9 as HeatmapProperties, ba as HeatmapViewport, bb as HowToAction, bc as HowToAnnotation, bd as HowToAnnotationSchema, be as HowToStepKind, bf as IdentifyRequest, bg as IdentifyRequestSchema, bh as IdentifyResponse, bi as LOCALE_PATTERN, bj as LOGGED_IN_AUDIENCE, bk as LocaleSchema, bl as LocalizationSettings, bm as LocalizationSettingsSchema, bn as MAX_ANNOTATIONS, bo as MAX_COLLECTION_DEPTH, bp as MAX_COMPLAINT_ANSWER_LENGTH, bq as MAX_COMPLAINT_ATTACHMENT_BYTES, br as MAX_COMPLAINT_CHOICES, bs as MAX_COMPLAINT_FIELDS, bt as MAX_COMPLAINT_LENGTH, bu as MAX_CUSTOM_CSS, bv as MAX_FEEDBACK_COMMENT, bw as MAX_FEEDBACK_DESCRIPTION, bx as MAX_FEEDBACK_NOTE, by as MAX_FEEDBACK_TITLE, bz as MAX_MESSAGE_LENGTH, bA as MAX_PROPERTY_BYTES, bB as MAX_STACK_FRAMES, bC as MEDIA_FILE_MAX_BYTES, bD as MEDIA_FILE_TYPES, bE as MEDIA_IMAGE_MAX_BYTES, bF as MEDIA_IMAGE_TYPES, bG as MEDIA_MAX_BYTES, bH as MEDIA_VIDEO_MAX_BYTES, bI as MEDIA_VIDEO_TYPES, bJ as MESSAGE_AUTHORS, bK as MediaContentType, bL as MediaKind, bM as MessageAuthor, bN as MessengerCitation, bO as MessengerComplaint, bP as MessengerComplaintCategory, bQ as MessengerComplaintOffer, bR as MessengerComplaintsConfig, bS as MessengerConfig, bT as MessengerConversation, bU as MessengerHomeCards, bV as MessengerHowToCitation, bW as MessengerIdeaOffer, bX as MessengerIdeasConfig, bY as MessengerMessage, bZ as MessengerPageContent, b_ as MessengerPageRequest, b$ as MessengerPageRequestSchema, c0 as MessengerPageSuggestion, c1 as MessengerStatus, c2 as MessengerSuggestedGuide, c3 as MessengerTeammate, c4 as NETWORK_PLUGIN, c5 as NOISY_DATA_ATTR, c6 as NetworkPluginPayload, c7 as NetworkRequest, c8 as NetworkRequestType, c9 as NormalizedPointSchema, ca as NormalizedRect, cb as NormalizedRectSchema, cc as PAGE_RULE_LIMITS, cd as PATH_ID_PATTERN, ce as PDF_BLOCK_CLASS, cf as PDF_MAX_PAGES, cg as PDF_PAGES_CLASS, ch as PLACEMENTS, ci as PLATFORMS, cj as PageContext, ck as PagePattern, cl as PageRule, cm as Placement, cn as Platform, co as PostMessageSchema, cp as ProjectTheme, cq as ProjectThemeSchema, cr as PublicFeedbackComment, cs as PublicFeedbackList, ct as PublicFeedbackRequest, cu as PublicFeedbackRequestDetail, cv as PublishedGuide, cw as PublishedGuideSchema, cx as QueryParamCondition, cy as QueryParamOp, cz as RC_MODULE_IDS, cA as RC_MODULE_LABELS, cB as REPLAY_MAX_COMPRESSED_BYTES, cC as REPLAY_MAX_RAW_BYTES, cD as REPLY_TIMES, cE as RULE_FIELDS, cF as RULE_OPERATORS, cG as RcArticleLike, cH as RcCollectionLike, cI as RcSection, cJ as ReplayChunk, cK as ReplayChunkSchema, cL as ReplaySettings, cM as ReplaySettingsSchema, cN as ReplyTime, cO as ResourceCenterAnnouncement, cP as ResourceCenterArticle, cQ as ResourceCenterCollection, cR as ResourceCenterConfig, cS as ResourceCenterModule, cT as ResourceCenterModuleId, cU as ResourceCenterTranslations, cV as RuleField, cW as RuleOperator, cX as SCOUT_AGENT_ID, cY as SELECTOR_KINDS, cZ as SENSITIVE_HEADER_PATTERN, c_ as SENSITIVE_PARAM_PATTERN, c$ as SENSITIVE_PROPERTY_PATTERN, d0 as SERVER_ASSISTED_FIELDS, d1 as SHOW_ME_CLASS, d2 as SHOW_ME_HREF_PREFIX, d3 as SNAPSHOT_ATTRS, d4 as SNAPSHOT_LIMITS, d5 as SOURCEMAP_MAX_FILES_PER_UPLOAD, d6 as SOURCEMAP_MAX_FILE_BYTES, d7 as STATUS_LEVELS, d8 as STEP_TYPES, d9 as SURVEY_QUESTION_TYPES, da as ScoutStreamEvent, db as SdkArticleSummary, dc as SdkArticlesResponse, dd as SdkConfigResponse, de as SdkHowTo, df as SdkHowToStep, dg as SdkHowToSummary, dh as SdkHowTosResponse, di as SelectorOp, dj as SelectorStrategy, dk as SelectorStrategySchema, dl as SelectorSyntaxError, dm as ShowWhen, dn as StackFrame, dp as StartConversationRequest, dq as StartConversationResponse, dr as StartConversationSchema, ds as StatusLevel, dt as StepBranchSchema, du as StepButton, dv as StepSchema, dw as StepTarget, dx as StepType, dy as SurveyAnswer, dz as SurveyAnswers, dA as SurveyConfig, dB as SurveyConfigSchema, dC as SurveyQuestion, dD as SurveyQuestionSchema, dE as SurveyResponseRequest, dF as SurveyResponseRequestSchema, dG as TAG_PROPERTY_LIMITS, dH as TRIGGER_TYPES, dI as TagPropertyConfig, dJ as TagPropertyDefinition, dK as TaggingSdkConfig, dL as TargetSchema, dM as TargetingContext, dN as TextEntry, dO as TextKind, dP as TranslationCoverage, dQ as TranslationReviewMap, dR as TranslationReviewState, dS as TriggerConfig, dT as TriggerSchema, dU as VIDEO_ATTRS, dV as ValidationIssue, dW as VideoEmbed, dX as WCAG_AA_LARGE, dY as WCAG_AA_TEXT, dZ as WS_MAX_MESSAGES_PER_SOCKET, d_ as WS_MAX_MESSAGE_BYTES, d$ as WebSocketMessage, e0 as applyGuideTranslations, e1 as articleTextEntries, e2 as assignGuideVariant, e3 as baseLanguage, e4 as clamp, e5 as cleanLabel, e6 as compare, e7 as compareVersions, e8 as complaintReference, e9 as compoundMatches, ea as contrastIssues, eb as contrastRatio, ec as cssSelectorError, ed as defaultGuideConfig, ee as defaultStep, ef as describeCaptureStep, eg as describeRule, eh as emptyRuleGroup, ei as evaluateRule, ej as evaluateRules, ek as evenWeights, el as experimentBucketRules, em as experimentSalt, en as featureCssSelectors, eo as featureRuleError, ep as featureRuleMatchesClick, eq as feedbackReference, er as fingerprintError, es as firstNameFromTraits, et as fnv1a, eu as foldPathIds, ev as getPath, ew as guideLocales, ex as guidePlatforms, ey as guideTextEntries, ez as guidelyIdFromSelector, eA as hasVideoMedia, eB as isAllowedEmbedSrc, eC as isArticleListed, eD as isChecklistComplete, eE as isFileLink, eF as isMediaContentType, eG as isPlainObject, eH as isQuestionVisible, eI as isRuleGroup, eJ as isSafeMediaUrl, eK as isVideoContentType, eL as localeName, eM as localizeAnnouncement, eN as localizeArticle, eO as localizeGuide, eP as localizeResourceCenter, eQ as matchCssSelector, eR as matchUrlPattern, eS as matchesAudiences, eT as matchesHelpQuery, eU as mediaKind, eV as mediaMaxBytes, eW as needsReview, eX as normalizeErrorMessage, eY as normalizeFrameFile, eZ as normalizeLocale, e_ as normalizeSnapshot, e$ as orderedModules, f0 as pageLabel, f1 as pageName, f2 as pagePattern, f3 as pageRuleError, f4 as pageRuleMatches, f5 as pageRulesMatch, f6 as pageTerms, f7 as parseCssSelector, f8 as parseHexColor, f9 as parseStack, fa as propertyAttributeAllowed, fb as queryConditionRegex, fc as randomId, fd as readableTextOn, fe as relativeLuminance, ff as resolveCaptureSettings, fg as resolveLocale, fh as resourceCenterLocales, fi as resourceCenterSections, fj as resourceCenterTextEntries, fk as rolloutBucket, fl as safeRegExp, fm as sanitizeCustomCss, fn as sanitizeProperties, fo as scopeCustomCss, fp as screenPath, fq as servedArticleAudiences, fr as showMeHref, fs as showMeKeyFromHref, ft as showMeKeys, fu as slugify, fv as snapshotFromSelector, fw as stableStringify, fx as stripOrigin, fy as supportsPlatform, fz as toEmbedUrl, fA as translationCoverage, fB as unreadAnnouncements, fC as validateGuideConfig, fD as variantProblems, fE as variantRanges, fF as visibleAnnouncements, fG as visibleArticleIds, fH as visibleButtons, fI as visitorAudiences, fJ as visitorLocales, fK as withExperimentBucket, fL as withVisibility } from './runtime-DjEAlb_Q.cjs';
|
|
1
|
+
import { R as RuleGroup, a as Rule, G as GuideKind, b as GuideConfigInput } from './runtime-CAtOOY7X.cjs';
|
|
2
|
+
export { A as ADVANCE_ON, c as AGENT_METADATA_MAX_BYTES, d as AGENT_METADATA_MAX_KEYS, e as AGENT_OUTCOMES, f as AGENT_TOOL_CALLS_PER_TURN, g as AGENT_TOOL_STATUSES, h as AGENT_TURNS_PER_BATCH, i as AGENT_TURN_MAX_TEXT, j as AGENT_TURN_ROLES, k as ANNOTATION_COLORS, l as ARTICLE_HREF_PREFIX, m as ARTICLE_VISIBILITIES, n as AgentEventsResponse, o as AgentOutcome, p as AgentToolCallInput, q as AgentToolStatus, r as AgentTurnInput, s as AgentTurnRole, t as AnnotationColor, u as ApiError, v as AppSnapshot, w as Appearance, x as AppearanceSchema, y as ArticleVisibility, z as AttrOp, B as AttrTest, C as AuthoringPick, D as AuthoringPickSchema, E as AuthoringSessionInfo, F as AutocaptureSettings, H as AutocaptureSettingsSchema, I as BUTTON_ACTIONS, J as ButtonSchema, K as CAPTURE_PARAM, L as CAPTURE_SCREENSHOT_MAX_BYTES, M as COMMON_LOCALES, N as COMPLAINT_EVENTS, O as COMPLAINT_FIELD_TYPES, P as COMPLAINT_STATUSES, Q as CONTROL_VARIANT_ID, S as CaptureSessionInfo, T as CaptureSettings, U as CaptureStep, V as CaptureStepInput, W as CaptureStepSchema, X as CapturedElement, Y as CapturedElementSchema, Z as ChecklistConfig, _ as ChecklistConfigSchema, $ as ChecklistProgressRequest, a0 as ChecklistProgressRequestSchema, a1 as ChecklistTask, a2 as ChecklistTaskSchema, a3 as ClickFacts, a4 as ComplaintEvent, a5 as ComplaintField, a6 as ComplaintFieldType, a7 as ComplaintStatus, a8 as ComplexSelector, a9 as Compound, aa as ContrastIssue, ab as ConversationLookupResponse, ac as ConversationLookupSchema, ad as ConversationMessagesResponse, ae as ConversationRatingSchema, af as ConversationStatus, ag as DEFAULT_CAPTURE_SETTINGS, ah as DEFAULT_FEATURE_ATTRIBUTE, ai as DEFAULT_LOCALE, aj as DEFAULT_PLATFORMS, ak as EMBED_IFRAME_ATTRS, al as ElementNode, am as ElementSnapshot, an as EmbedProvider, ao as ErrorTrackingSettings, ap as ErrorTrackingSettingsSchema, aq as ExceptionProperties, ar as FEATURE_ATTRIBUTE_PATTERN, as as FEATURE_RULE_LIMITS, at as FEEDBACK_EVENTS, au as FEEDBACK_PRIORITIES, av as FEEDBACK_PRIORITY_LABEL, aw as FEEDBACK_PRIORITY_WEIGHT, ax as FEEDBACK_STATUSES, ay as FEEDBACK_STATUS_LABEL, az as FILE_LINK_CLASS, aA as FeatureRule, aB as FeedbackEvent, aC as FeedbackPriority, aD as FeedbackStatus, aE as FeedbackUpdate, aF as FeedbackUpdatesResponse, aG as FileComplaintResponse, aH as FrequencyConfig, aI as FrequencySchema, aJ as GUIDELY_ID_ATTRIBUTE, aK as GUIDE_EXPERIMENT_GOALS, aL as GUIDE_EXPERIMENT_GOAL_LABELS, aM as GUIDE_EXPERIMENT_STATUSES, aN as GUIDE_KINDS, aO as GUIDE_STATUSES, aP as GUIDE_VISIBILITIES, aQ as GuideConfig, aR as GuideConfigSchema, aS as GuideExperimentGoal, aT as GuideExperimentGoalKind, aU as GuideExperimentStatus, aV as GuideExperimentVariant, aW as GuideHoldout, aX as GuideLocalization, aY as GuideLocalizationSchema, aZ as GuideSchedule, a_ as GuideScheduleSchema, a$ as GuideStateUpdateSchema, b0 as GuideStatus, b1 as GuideStep, b2 as GuideStepInput, b3 as GuideThrottlingSchema, b4 as GuideThrottlingSettings, b5 as GuideVisibility, b6 as HEATMAP_VIEWPORTS, b7 as HOWTO_ACTIONS, b8 as HOWTO_STEP_KINDS, b9 as HeatmapPoint, ba as HeatmapProperties, bb as HeatmapViewport, bc as HowToAction, bd as HowToAnnotation, be as HowToAnnotationSchema, bf as HowToStepKind, bg as IdentifyRequest, bh as IdentifyRequestSchema, bi as IdentifyResponse, bj as LOCALE_PATTERN, bk as LOGGED_IN_AUDIENCE, bl as LocaleSchema, bm as LocalizationSettings, bn as LocalizationSettingsSchema, bo as MAX_ANNOTATIONS, bp as MAX_COLLECTION_DEPTH, bq as MAX_COMPLAINT_ANSWER_LENGTH, br as MAX_COMPLAINT_ATTACHMENT_BYTES, bs as MAX_COMPLAINT_CHOICES, bt as MAX_COMPLAINT_FIELDS, bu as MAX_COMPLAINT_LENGTH, bv as MAX_CUSTOM_CSS, bw as MAX_FEEDBACK_COMMENT, bx as MAX_FEEDBACK_DESCRIPTION, by as MAX_FEEDBACK_NOTE, bz as MAX_FEEDBACK_TITLE, bA as MAX_MESSAGE_LENGTH, bB as MAX_PROPERTY_BYTES, bC as MAX_STACK_FRAMES, bD as MEDIA_FILE_MAX_BYTES, bE as MEDIA_FILE_TYPES, bF as MEDIA_IMAGE_MAX_BYTES, bG as MEDIA_IMAGE_TYPES, bH as MEDIA_MAX_BYTES, bI as MEDIA_VIDEO_MAX_BYTES, bJ as MEDIA_VIDEO_TYPES, bK as MESSAGE_AUTHORS, bL as MediaContentType, bM as MediaKind, bN as MessageAuthor, bO as MessengerCitation, bP as MessengerComplaint, bQ as MessengerComplaintCategory, bR as MessengerComplaintOffer, bS as MessengerComplaintsConfig, bT as MessengerConfig, bU as MessengerConversation, bV as MessengerHomeCards, bW as MessengerHowToCitation, bX as MessengerIdeaOffer, bY as MessengerIdeasConfig, bZ as MessengerMessage, b_ as MessengerPageContent, b$ as MessengerPageRequest, c0 as MessengerPageRequestSchema, c1 as MessengerPageSuggestion, c2 as MessengerStatus, c3 as MessengerSuggestedGuide, c4 as MessengerTeammate, c5 as NETWORK_PLUGIN, c6 as NOISY_DATA_ATTR, c7 as NetworkPluginPayload, c8 as NetworkRequest, c9 as NetworkRequestType, ca as NormalizedPointSchema, cb as NormalizedRect, cc as NormalizedRectSchema, cd as PAGE_RULE_LIMITS, ce as PATH_ID_PATTERN, cf as PDF_BLOCK_CLASS, cg as PDF_MAX_PAGES, ch as PDF_PAGES_CLASS, ci as PLACEMENTS, cj as PLATFORMS, ck as PageContext, cl as PagePattern, cm as PageRule, cn as Placement, co as Platform, cp as PostMessageSchema, cq as ProjectTheme, cr as ProjectThemeSchema, cs as PublicFeedbackComment, ct as PublicFeedbackList, cu as PublicFeedbackRequest, cv as PublicFeedbackRequestDetail, cw as PublishedGuide, cx as PublishedGuideSchema, cy as QueryParamCondition, cz as QueryParamOp, cA as RC_MODULE_IDS, cB as RC_MODULE_LABELS, cC as RECORDING_LEVELS, cD as REPLAY_MAX_COMPRESSED_BYTES, cE as REPLAY_MAX_RAW_BYTES, cF as REPLY_TIMES, cG as RULE_FIELDS, cH as RULE_OPERATORS, cI as RcArticleLike, cJ as RcCollectionLike, cK as RcSection, cL as RecordingLevel, cM as ReplayChunk, cN as ReplayChunkSchema, cO as ReplaySettings, cP as ReplaySettingsSchema, cQ as ReplyTime, cR as ResourceCenterAnnouncement, cS as ResourceCenterArticle, cT as ResourceCenterCollection, cU as ResourceCenterConfig, cV as ResourceCenterModule, cW as ResourceCenterModuleId, cX as ResourceCenterTranslations, cY as RuleField, cZ as RuleOperator, c_ as SCOUT_AGENT_ID, c$ as SELECTOR_KINDS, d0 as SENSITIVE_HEADER_PATTERN, d1 as SENSITIVE_PARAM_PATTERN, d2 as SENSITIVE_PROPERTY_PATTERN, d3 as SERVER_ASSISTED_FIELDS, d4 as SHOW_ME_CLASS, d5 as SHOW_ME_HREF_PREFIX, d6 as SNAPSHOT_ATTRS, d7 as SNAPSHOT_LIMITS, d8 as SOURCEMAP_MAX_FILES_PER_UPLOAD, d9 as SOURCEMAP_MAX_FILE_BYTES, da as STATUS_LEVELS, db as STEP_TYPES, dc as SURVEY_QUESTION_TYPES, dd as ScoutStreamEvent, de as SdkArticleSummary, df as SdkArticlesResponse, dg as SdkConfigResponse, dh as SdkHowTo, di as SdkHowToStep, dj as SdkHowToSummary, dk as SdkHowTosResponse, dl as SelectorOp, dm as SelectorStrategy, dn as SelectorStrategySchema, dp as SelectorSyntaxError, dq as ShowWhen, dr as StackFrame, ds as StartConversationRequest, dt as StartConversationResponse, du as StartConversationSchema, dv as StatusLevel, dw as StepBranchSchema, dx as StepButton, dy as StepSchema, dz as StepTarget, dA as StepType, dB as SurveyAnswer, dC as SurveyAnswers, dD as SurveyConfig, dE as SurveyConfigSchema, dF as SurveyQuestion, dG as SurveyQuestionSchema, dH as SurveyResponseRequest, dI as SurveyResponseRequestSchema, dJ as TAG_PROPERTY_LIMITS, dK as TRIGGER_TYPES, dL as TagPropertyConfig, dM as TagPropertyDefinition, dN as TaggingSdkConfig, dO as TargetSchema, dP as TargetingContext, dQ as TextEntry, dR as TextKind, dS as TranslationCoverage, dT as TranslationReviewMap, dU as TranslationReviewState, dV as TriggerConfig, dW as TriggerSchema, dX as VIDEO_ATTRS, dY as ValidationIssue, dZ as VideoEmbed, d_ as WCAG_AA_LARGE, d$ as WCAG_AA_TEXT, e0 as WS_MAX_MESSAGES_PER_SOCKET, e1 as WS_MAX_MESSAGE_BYTES, e2 as WebSocketMessage, e3 as applyGuideTranslations, e4 as articleHref, e5 as articleIdFromHref, e6 as articleTextEntries, e7 as assignGuideVariant, e8 as baseLanguage, e9 as clamp, ea as cleanLabel, eb as compare, ec as compareVersions, ed as complaintReference, ee as compoundMatches, ef as contrastIssues, eg as contrastRatio, eh as cssSelectorError, ei as defaultGuideConfig, ej as defaultStep, ek as describeCaptureStep, el as describeRule, em as emptyRuleGroup, en as evaluateRule, eo as evaluateRules, ep as evenWeights, eq as experimentBucketRules, er as experimentSalt, es as featureCssSelectors, et as featureRuleError, eu as featureRuleMatchesClick, ev as feedbackReference, ew as fingerprintError, ex as firstNameFromTraits, ey as fnv1a, ez as foldPathIds, eA as getPath, eB as guideLocales, eC as guidePlatforms, eD as guideTextEntries, eE as guidelyIdFromSelector, eF as hasVideoMedia, eG as isAllowedEmbedSrc, eH as isArticleListed, eI as isChecklistComplete, eJ as isFileLink, eK as isMediaContentType, eL as isPlainObject, eM as isQuestionVisible, eN as isRuleGroup, eO as isSafeMediaUrl, eP as isVideoContentType, eQ as isVideoFileUrl, eR as localeName, eS as localizeAnnouncement, eT as localizeArticle, eU as localizeGuide, eV as localizeResourceCenter, eW as matchCssSelector, eX as matchUrlPattern, eY as matchesAudiences, eZ as matchesHelpQuery, e_ as mediaKind, e$ as mediaMaxBytes, f0 as needsReview, f1 as normalizeErrorMessage, f2 as normalizeFrameFile, f3 as normalizeLocale, f4 as normalizeSnapshot, f5 as orderedModules, f6 as pageLabel, f7 as pageName, f8 as pagePattern, f9 as pageRuleError, fa as pageRuleMatches, fb as pageRulesMatch, fc as pageTerms, fd as parseCssSelector, fe as parseHexColor, ff as parseStack, fg as propertyAttributeAllowed, fh as queryConditionRegex, fi as randomId, fj as readableTextOn, fk as recordingLevel, fl as relativeLuminance, fm as resolveCaptureSettings, fn as resolveLocale, fo as resourceCenterLocales, fp as resourceCenterSections, fq as resourceCenterTextEntries, fr as rolloutBucket, fs as safeRegExp, ft as sanitizeCustomCss, fu as sanitizeProperties, fv as scopeCustomCss, fw as screenPath, fx as servedArticleAudiences, fy as showMeHref, fz as showMeKeyFromHref, fA as showMeKeys, fB as slugify, fC as snapshotFromSelector, fD as stableStringify, fE as stepVideo, fF as stripOrigin, fG as supportsPlatform, fH as toEmbedUrl, fI as translationCoverage, fJ as unreadAnnouncements, fK as validateGuideConfig, fL as variantProblems, fM as variantRanges, fN as videoThumbnailUrl, fO as visibleAnnouncements, fP as visibleArticleIds, fQ as visibleButtons, fR as visitorAudiences, fS as visitorLocales, fT as withExperimentBucket, fU as withRecordingLevel, fV as withVisibility } from './runtime-CAtOOY7X.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
declare const RuleSchema: z.ZodType<Rule>;
|
|
6
6
|
declare const RuleGroupSchema: z.ZodType<RuleGroup>;
|
|
7
7
|
|
|
8
|
-
declare const EVENT_NAMES: readonly ["guide_viewed", "guide_started", "step_viewed", "step_completed", "guide_completed", "guide_skipped", "guide_dismissed", "guide_abandoned", "checklist_task_completed", "checklist_completed", "checklist_dismissed", "survey_displayed", "survey_submitted", "survey_dismissed", "resource_center_opened", "article_viewed", "messenger_opened", "conversation_started", "conversation_handed_off", "scout_answered", "custom", "page_view", "identify", "page_leave", "click", "rage_click", "exception", "heatmap", "experiment_viewed", "app_install", "app_update", "app_open", "app_background"];
|
|
8
|
+
declare const EVENT_NAMES: readonly ["guide_viewed", "guide_started", "step_viewed", "step_completed", "guide_completed", "guide_skipped", "guide_dismissed", "guide_abandoned", "guide_video_clicked", "checklist_task_completed", "checklist_completed", "checklist_dismissed", "survey_displayed", "survey_submitted", "survey_dismissed", "resource_center_opened", "article_viewed", "messenger_opened", "conversation_started", "conversation_handed_off", "scout_answered", "custom", "page_view", "identify", "page_leave", "click", "rage_click", "exception", "heatmap", "experiment_viewed", "app_install", "app_update", "app_open", "app_background"];
|
|
9
9
|
type EventName = (typeof EVENT_NAMES)[number];
|
|
10
10
|
/** Events the SDK records on its own (page analytics, click autocapture, error tracking). */
|
|
11
11
|
declare const AUTOCAPTURE_EVENTS: readonly ["page_view", "page_leave", "click", "rage_click", "exception", "heatmap", "app_install", "app_update", "app_open", "app_background"];
|
|
@@ -15,8 +15,42 @@ declare const GUIDE_LIFECYCLE_EVENTS: readonly ["guide_viewed", "guide_started",
|
|
|
15
15
|
/** Event as produced by the SDK and accepted by POST /api/v1/sdk/events */
|
|
16
16
|
declare const SdkEventSchema: z.ZodObject<{
|
|
17
17
|
eventId: z.ZodString;
|
|
18
|
-
name: z.ZodEnum<
|
|
19
|
-
|
|
18
|
+
name: z.ZodEnum<{
|
|
19
|
+
custom: "custom";
|
|
20
|
+
click: "click";
|
|
21
|
+
guide_completed: "guide_completed";
|
|
22
|
+
guide_viewed: "guide_viewed";
|
|
23
|
+
guide_started: "guide_started";
|
|
24
|
+
step_viewed: "step_viewed";
|
|
25
|
+
step_completed: "step_completed";
|
|
26
|
+
guide_skipped: "guide_skipped";
|
|
27
|
+
guide_dismissed: "guide_dismissed";
|
|
28
|
+
guide_abandoned: "guide_abandoned";
|
|
29
|
+
guide_video_clicked: "guide_video_clicked";
|
|
30
|
+
checklist_task_completed: "checklist_task_completed";
|
|
31
|
+
checklist_completed: "checklist_completed";
|
|
32
|
+
checklist_dismissed: "checklist_dismissed";
|
|
33
|
+
survey_displayed: "survey_displayed";
|
|
34
|
+
survey_submitted: "survey_submitted";
|
|
35
|
+
survey_dismissed: "survey_dismissed";
|
|
36
|
+
resource_center_opened: "resource_center_opened";
|
|
37
|
+
article_viewed: "article_viewed";
|
|
38
|
+
messenger_opened: "messenger_opened";
|
|
39
|
+
conversation_started: "conversation_started";
|
|
40
|
+
conversation_handed_off: "conversation_handed_off";
|
|
41
|
+
scout_answered: "scout_answered";
|
|
42
|
+
page_view: "page_view";
|
|
43
|
+
identify: "identify";
|
|
44
|
+
page_leave: "page_leave";
|
|
45
|
+
rage_click: "rage_click";
|
|
46
|
+
exception: "exception";
|
|
47
|
+
heatmap: "heatmap";
|
|
48
|
+
experiment_viewed: "experiment_viewed";
|
|
49
|
+
app_install: "app_install";
|
|
50
|
+
app_update: "app_update";
|
|
51
|
+
app_open: "app_open";
|
|
52
|
+
app_background: "app_background";
|
|
53
|
+
}>;
|
|
20
54
|
customName: z.ZodOptional<z.ZodString>;
|
|
21
55
|
occurredAt: z.ZodString;
|
|
22
56
|
anonymousId: z.ZodString;
|
|
@@ -29,43 +63,47 @@ declare const SdkEventSchema: z.ZodObject<{
|
|
|
29
63
|
stepIndex: z.ZodOptional<z.ZodNumber>;
|
|
30
64
|
url: z.ZodOptional<z.ZodString>;
|
|
31
65
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
32
|
-
},
|
|
33
|
-
eventId: string;
|
|
34
|
-
name: "custom" | "click" | "guide_completed" | "guide_viewed" | "guide_started" | "step_viewed" | "step_completed" | "guide_skipped" | "guide_dismissed" | "guide_abandoned" | "checklist_task_completed" | "checklist_completed" | "checklist_dismissed" | "survey_displayed" | "survey_submitted" | "survey_dismissed" | "resource_center_opened" | "article_viewed" | "messenger_opened" | "conversation_started" | "conversation_handed_off" | "scout_answered" | "page_view" | "identify" | "page_leave" | "rage_click" | "exception" | "heatmap" | "experiment_viewed" | "app_install" | "app_update" | "app_open" | "app_background";
|
|
35
|
-
occurredAt: string;
|
|
36
|
-
anonymousId: string;
|
|
37
|
-
url?: string | undefined;
|
|
38
|
-
customName?: string | undefined;
|
|
39
|
-
userId?: string | null | undefined;
|
|
40
|
-
accountId?: string | null | undefined;
|
|
41
|
-
sessionId?: string | undefined;
|
|
42
|
-
guideId?: string | undefined;
|
|
43
|
-
guideVersion?: number | undefined;
|
|
44
|
-
stepId?: string | undefined;
|
|
45
|
-
stepIndex?: number | undefined;
|
|
46
|
-
properties?: Record<string, unknown> | undefined;
|
|
47
|
-
}, {
|
|
48
|
-
eventId: string;
|
|
49
|
-
name: "custom" | "click" | "guide_completed" | "guide_viewed" | "guide_started" | "step_viewed" | "step_completed" | "guide_skipped" | "guide_dismissed" | "guide_abandoned" | "checklist_task_completed" | "checklist_completed" | "checklist_dismissed" | "survey_displayed" | "survey_submitted" | "survey_dismissed" | "resource_center_opened" | "article_viewed" | "messenger_opened" | "conversation_started" | "conversation_handed_off" | "scout_answered" | "page_view" | "identify" | "page_leave" | "rage_click" | "exception" | "heatmap" | "experiment_viewed" | "app_install" | "app_update" | "app_open" | "app_background";
|
|
50
|
-
occurredAt: string;
|
|
51
|
-
anonymousId: string;
|
|
52
|
-
url?: string | undefined;
|
|
53
|
-
customName?: string | undefined;
|
|
54
|
-
userId?: string | null | undefined;
|
|
55
|
-
accountId?: string | null | undefined;
|
|
56
|
-
sessionId?: string | undefined;
|
|
57
|
-
guideId?: string | undefined;
|
|
58
|
-
guideVersion?: number | undefined;
|
|
59
|
-
stepId?: string | undefined;
|
|
60
|
-
stepIndex?: number | undefined;
|
|
61
|
-
properties?: Record<string, unknown> | undefined;
|
|
62
|
-
}>;
|
|
66
|
+
}, z.core.$strip>;
|
|
63
67
|
type SdkEvent = z.infer<typeof SdkEventSchema>;
|
|
64
68
|
declare const EventBatchSchema: z.ZodObject<{
|
|
65
69
|
events: z.ZodArray<z.ZodObject<{
|
|
66
70
|
eventId: z.ZodString;
|
|
67
|
-
name: z.ZodEnum<
|
|
68
|
-
|
|
71
|
+
name: z.ZodEnum<{
|
|
72
|
+
custom: "custom";
|
|
73
|
+
click: "click";
|
|
74
|
+
guide_completed: "guide_completed";
|
|
75
|
+
guide_viewed: "guide_viewed";
|
|
76
|
+
guide_started: "guide_started";
|
|
77
|
+
step_viewed: "step_viewed";
|
|
78
|
+
step_completed: "step_completed";
|
|
79
|
+
guide_skipped: "guide_skipped";
|
|
80
|
+
guide_dismissed: "guide_dismissed";
|
|
81
|
+
guide_abandoned: "guide_abandoned";
|
|
82
|
+
guide_video_clicked: "guide_video_clicked";
|
|
83
|
+
checklist_task_completed: "checklist_task_completed";
|
|
84
|
+
checklist_completed: "checklist_completed";
|
|
85
|
+
checklist_dismissed: "checklist_dismissed";
|
|
86
|
+
survey_displayed: "survey_displayed";
|
|
87
|
+
survey_submitted: "survey_submitted";
|
|
88
|
+
survey_dismissed: "survey_dismissed";
|
|
89
|
+
resource_center_opened: "resource_center_opened";
|
|
90
|
+
article_viewed: "article_viewed";
|
|
91
|
+
messenger_opened: "messenger_opened";
|
|
92
|
+
conversation_started: "conversation_started";
|
|
93
|
+
conversation_handed_off: "conversation_handed_off";
|
|
94
|
+
scout_answered: "scout_answered";
|
|
95
|
+
page_view: "page_view";
|
|
96
|
+
identify: "identify";
|
|
97
|
+
page_leave: "page_leave";
|
|
98
|
+
rage_click: "rage_click";
|
|
99
|
+
exception: "exception";
|
|
100
|
+
heatmap: "heatmap";
|
|
101
|
+
experiment_viewed: "experiment_viewed";
|
|
102
|
+
app_install: "app_install";
|
|
103
|
+
app_update: "app_update";
|
|
104
|
+
app_open: "app_open";
|
|
105
|
+
app_background: "app_background";
|
|
106
|
+
}>;
|
|
69
107
|
customName: z.ZodOptional<z.ZodString>;
|
|
70
108
|
occurredAt: z.ZodString;
|
|
71
109
|
anonymousId: z.ZodString;
|
|
@@ -78,93 +116,13 @@ declare const EventBatchSchema: z.ZodObject<{
|
|
|
78
116
|
stepIndex: z.ZodOptional<z.ZodNumber>;
|
|
79
117
|
url: z.ZodOptional<z.ZodString>;
|
|
80
118
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
81
|
-
},
|
|
82
|
-
eventId: string;
|
|
83
|
-
name: "custom" | "click" | "guide_completed" | "guide_viewed" | "guide_started" | "step_viewed" | "step_completed" | "guide_skipped" | "guide_dismissed" | "guide_abandoned" | "checklist_task_completed" | "checklist_completed" | "checklist_dismissed" | "survey_displayed" | "survey_submitted" | "survey_dismissed" | "resource_center_opened" | "article_viewed" | "messenger_opened" | "conversation_started" | "conversation_handed_off" | "scout_answered" | "page_view" | "identify" | "page_leave" | "rage_click" | "exception" | "heatmap" | "experiment_viewed" | "app_install" | "app_update" | "app_open" | "app_background";
|
|
84
|
-
occurredAt: string;
|
|
85
|
-
anonymousId: string;
|
|
86
|
-
url?: string | undefined;
|
|
87
|
-
customName?: string | undefined;
|
|
88
|
-
userId?: string | null | undefined;
|
|
89
|
-
accountId?: string | null | undefined;
|
|
90
|
-
sessionId?: string | undefined;
|
|
91
|
-
guideId?: string | undefined;
|
|
92
|
-
guideVersion?: number | undefined;
|
|
93
|
-
stepId?: string | undefined;
|
|
94
|
-
stepIndex?: number | undefined;
|
|
95
|
-
properties?: Record<string, unknown> | undefined;
|
|
96
|
-
}, {
|
|
97
|
-
eventId: string;
|
|
98
|
-
name: "custom" | "click" | "guide_completed" | "guide_viewed" | "guide_started" | "step_viewed" | "step_completed" | "guide_skipped" | "guide_dismissed" | "guide_abandoned" | "checklist_task_completed" | "checklist_completed" | "checklist_dismissed" | "survey_displayed" | "survey_submitted" | "survey_dismissed" | "resource_center_opened" | "article_viewed" | "messenger_opened" | "conversation_started" | "conversation_handed_off" | "scout_answered" | "page_view" | "identify" | "page_leave" | "rage_click" | "exception" | "heatmap" | "experiment_viewed" | "app_install" | "app_update" | "app_open" | "app_background";
|
|
99
|
-
occurredAt: string;
|
|
100
|
-
anonymousId: string;
|
|
101
|
-
url?: string | undefined;
|
|
102
|
-
customName?: string | undefined;
|
|
103
|
-
userId?: string | null | undefined;
|
|
104
|
-
accountId?: string | null | undefined;
|
|
105
|
-
sessionId?: string | undefined;
|
|
106
|
-
guideId?: string | undefined;
|
|
107
|
-
guideVersion?: number | undefined;
|
|
108
|
-
stepId?: string | undefined;
|
|
109
|
-
stepIndex?: number | undefined;
|
|
110
|
-
properties?: Record<string, unknown> | undefined;
|
|
111
|
-
}>, "many">;
|
|
119
|
+
}, z.core.$strip>>;
|
|
112
120
|
sentAt: z.ZodOptional<z.ZodString>;
|
|
113
121
|
sdk: z.ZodOptional<z.ZodObject<{
|
|
114
122
|
name: z.ZodString;
|
|
115
123
|
version: z.ZodString;
|
|
116
|
-
},
|
|
117
|
-
|
|
118
|
-
version: string;
|
|
119
|
-
}, {
|
|
120
|
-
name: string;
|
|
121
|
-
version: string;
|
|
122
|
-
}>>;
|
|
123
|
-
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
events: {
|
|
125
|
-
eventId: string;
|
|
126
|
-
name: "custom" | "click" | "guide_completed" | "guide_viewed" | "guide_started" | "step_viewed" | "step_completed" | "guide_skipped" | "guide_dismissed" | "guide_abandoned" | "checklist_task_completed" | "checklist_completed" | "checklist_dismissed" | "survey_displayed" | "survey_submitted" | "survey_dismissed" | "resource_center_opened" | "article_viewed" | "messenger_opened" | "conversation_started" | "conversation_handed_off" | "scout_answered" | "page_view" | "identify" | "page_leave" | "rage_click" | "exception" | "heatmap" | "experiment_viewed" | "app_install" | "app_update" | "app_open" | "app_background";
|
|
127
|
-
occurredAt: string;
|
|
128
|
-
anonymousId: string;
|
|
129
|
-
url?: string | undefined;
|
|
130
|
-
customName?: string | undefined;
|
|
131
|
-
userId?: string | null | undefined;
|
|
132
|
-
accountId?: string | null | undefined;
|
|
133
|
-
sessionId?: string | undefined;
|
|
134
|
-
guideId?: string | undefined;
|
|
135
|
-
guideVersion?: number | undefined;
|
|
136
|
-
stepId?: string | undefined;
|
|
137
|
-
stepIndex?: number | undefined;
|
|
138
|
-
properties?: Record<string, unknown> | undefined;
|
|
139
|
-
}[];
|
|
140
|
-
sentAt?: string | undefined;
|
|
141
|
-
sdk?: {
|
|
142
|
-
name: string;
|
|
143
|
-
version: string;
|
|
144
|
-
} | undefined;
|
|
145
|
-
}, {
|
|
146
|
-
events: {
|
|
147
|
-
eventId: string;
|
|
148
|
-
name: "custom" | "click" | "guide_completed" | "guide_viewed" | "guide_started" | "step_viewed" | "step_completed" | "guide_skipped" | "guide_dismissed" | "guide_abandoned" | "checklist_task_completed" | "checklist_completed" | "checklist_dismissed" | "survey_displayed" | "survey_submitted" | "survey_dismissed" | "resource_center_opened" | "article_viewed" | "messenger_opened" | "conversation_started" | "conversation_handed_off" | "scout_answered" | "page_view" | "identify" | "page_leave" | "rage_click" | "exception" | "heatmap" | "experiment_viewed" | "app_install" | "app_update" | "app_open" | "app_background";
|
|
149
|
-
occurredAt: string;
|
|
150
|
-
anonymousId: string;
|
|
151
|
-
url?: string | undefined;
|
|
152
|
-
customName?: string | undefined;
|
|
153
|
-
userId?: string | null | undefined;
|
|
154
|
-
accountId?: string | null | undefined;
|
|
155
|
-
sessionId?: string | undefined;
|
|
156
|
-
guideId?: string | undefined;
|
|
157
|
-
guideVersion?: number | undefined;
|
|
158
|
-
stepId?: string | undefined;
|
|
159
|
-
stepIndex?: number | undefined;
|
|
160
|
-
properties?: Record<string, unknown> | undefined;
|
|
161
|
-
}[];
|
|
162
|
-
sentAt?: string | undefined;
|
|
163
|
-
sdk?: {
|
|
164
|
-
name: string;
|
|
165
|
-
version: string;
|
|
166
|
-
} | undefined;
|
|
167
|
-
}>;
|
|
124
|
+
}, z.core.$strip>>;
|
|
125
|
+
}, z.core.$strip>;
|
|
168
126
|
type EventBatch = z.infer<typeof EventBatchSchema>;
|
|
169
127
|
|
|
170
128
|
declare const FileComplaintSchema: z.ZodObject<{
|
|
@@ -172,618 +130,245 @@ declare const FileComplaintSchema: z.ZodObject<{
|
|
|
172
130
|
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
173
131
|
categoryId: z.ZodString;
|
|
174
132
|
description: z.ZodString;
|
|
175
|
-
/** Answers to the category's extra questions, by field id. */
|
|
176
133
|
answers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
177
|
-
/** Required from visitors the app hasn't identified. */
|
|
178
134
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
179
135
|
pageUrl: z.ZodOptional<z.ZodString>;
|
|
180
|
-
/** File it in this conversation (send its token in `X-Guidely-Conversation`); otherwise a new one is started. */
|
|
181
136
|
conversationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
182
|
-
/** One screenshot, base64-encoded (png, jpeg, webp or gif). */
|
|
183
137
|
attachment: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
184
138
|
fileName: z.ZodString;
|
|
185
139
|
data: z.ZodString;
|
|
186
|
-
},
|
|
187
|
-
|
|
188
|
-
data: string;
|
|
189
|
-
}, {
|
|
190
|
-
fileName: string;
|
|
191
|
-
data: string;
|
|
192
|
-
}>>>;
|
|
193
|
-
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
description: string;
|
|
195
|
-
anonymousId: string;
|
|
196
|
-
answers: Record<string, string>;
|
|
197
|
-
categoryId: string;
|
|
198
|
-
email?: string | null | undefined;
|
|
199
|
-
userId?: string | null | undefined;
|
|
200
|
-
pageUrl?: string | undefined;
|
|
201
|
-
conversationId?: string | null | undefined;
|
|
202
|
-
attachment?: {
|
|
203
|
-
fileName: string;
|
|
204
|
-
data: string;
|
|
205
|
-
} | null | undefined;
|
|
206
|
-
}, {
|
|
207
|
-
description: string;
|
|
208
|
-
anonymousId: string;
|
|
209
|
-
categoryId: string;
|
|
210
|
-
email?: string | null | undefined;
|
|
211
|
-
userId?: string | null | undefined;
|
|
212
|
-
pageUrl?: string | undefined;
|
|
213
|
-
answers?: Record<string, string> | undefined;
|
|
214
|
-
conversationId?: string | null | undefined;
|
|
215
|
-
attachment?: {
|
|
216
|
-
fileName: string;
|
|
217
|
-
data: string;
|
|
218
|
-
} | null | undefined;
|
|
219
|
-
}>;
|
|
140
|
+
}, z.core.$strip>>>;
|
|
141
|
+
}, z.core.$strip>;
|
|
220
142
|
type FileComplaintRequest = z.infer<typeof FileComplaintSchema>;
|
|
221
143
|
|
|
222
144
|
/** A tool call: name, status and latency only. Anything else (arguments, results) is dropped, never stored. */
|
|
223
145
|
declare const AgentToolCallSchema: z.ZodObject<{
|
|
224
146
|
name: z.ZodString;
|
|
225
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
147
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
148
|
+
error: "error";
|
|
149
|
+
ok: "ok";
|
|
150
|
+
}>>;
|
|
226
151
|
latencyMs: z.ZodOptional<z.ZodNumber>;
|
|
227
|
-
},
|
|
228
|
-
name: string;
|
|
229
|
-
status?: "error" | "ok" | undefined;
|
|
230
|
-
latencyMs?: number | undefined;
|
|
231
|
-
}, {
|
|
232
|
-
name: string;
|
|
233
|
-
status?: "error" | "ok" | undefined;
|
|
234
|
-
latencyMs?: number | undefined;
|
|
235
|
-
}>;
|
|
152
|
+
}, z.core.$strip>;
|
|
236
153
|
/**
|
|
237
154
|
* Flat metadata: string, number, boolean or null values (others, such as nested objects, are dropped).
|
|
238
155
|
* Keys starting with `$` (reserved) and keys that look sensitive (password, token, card…) are dropped;
|
|
239
156
|
* strings are cut to 500 characters, and keys past the count or size limit are left out.
|
|
240
157
|
*/
|
|
241
|
-
declare const AgentMetadataSchema: z.
|
|
158
|
+
declare const AgentMetadataSchema: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, string | number | boolean | null>, Record<string, unknown>>>;
|
|
242
159
|
declare const AgentTurnInputSchema: z.ZodObject<{
|
|
243
160
|
type: z.ZodOptional<z.ZodLiteral<"agent.conversation">>;
|
|
244
161
|
conversationId: z.ZodString;
|
|
245
|
-
agentId: z.
|
|
162
|
+
agentId: z.ZodString;
|
|
246
163
|
agentName: z.ZodOptional<z.ZodString>;
|
|
247
164
|
turnId: z.ZodOptional<z.ZodString>;
|
|
248
|
-
role: z.ZodEnum<
|
|
165
|
+
role: z.ZodEnum<{
|
|
166
|
+
user: "user";
|
|
167
|
+
system: "system";
|
|
168
|
+
assistant: "assistant";
|
|
169
|
+
tool: "tool";
|
|
170
|
+
}>;
|
|
249
171
|
text: z.ZodDefault<z.ZodString>;
|
|
250
172
|
toolCalls: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
251
173
|
name: z.ZodString;
|
|
252
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
174
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
175
|
+
error: "error";
|
|
176
|
+
ok: "ok";
|
|
177
|
+
}>>;
|
|
253
178
|
latencyMs: z.ZodOptional<z.ZodNumber>;
|
|
254
|
-
},
|
|
255
|
-
name: string;
|
|
256
|
-
status?: "error" | "ok" | undefined;
|
|
257
|
-
latencyMs?: number | undefined;
|
|
258
|
-
}, {
|
|
259
|
-
name: string;
|
|
260
|
-
status?: "error" | "ok" | undefined;
|
|
261
|
-
latencyMs?: number | undefined;
|
|
262
|
-
}>, "many">>;
|
|
179
|
+
}, z.core.$strip>>>;
|
|
263
180
|
latencyMs: z.ZodOptional<z.ZodNumber>;
|
|
264
|
-
outcome: z.ZodOptional<z.ZodEnum<
|
|
181
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
182
|
+
success: "success";
|
|
183
|
+
failure: "failure";
|
|
184
|
+
escalated: "escalated";
|
|
185
|
+
abandoned: "abandoned";
|
|
186
|
+
}>>;
|
|
265
187
|
taskSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
266
188
|
occurredAt: z.ZodOptional<z.ZodString>;
|
|
267
|
-
userId: z.
|
|
268
|
-
anonymousId: z.
|
|
269
|
-
accountId: z.
|
|
270
|
-
sessionId: z.
|
|
271
|
-
metadata: z.ZodDefault<z.
|
|
272
|
-
},
|
|
273
|
-
role: "user" | "system" | "assistant" | "tool";
|
|
274
|
-
text: string;
|
|
275
|
-
anonymousId: string | null;
|
|
276
|
-
userId: string | null;
|
|
277
|
-
accountId: string | null;
|
|
278
|
-
sessionId: string | null;
|
|
279
|
-
conversationId: string;
|
|
280
|
-
agentId: string;
|
|
281
|
-
toolCalls: {
|
|
282
|
-
name: string;
|
|
283
|
-
status?: "error" | "ok" | undefined;
|
|
284
|
-
latencyMs?: number | undefined;
|
|
285
|
-
}[];
|
|
286
|
-
metadata: Record<string, string | number | boolean | null>;
|
|
287
|
-
type?: "agent.conversation" | undefined;
|
|
288
|
-
occurredAt?: string | undefined;
|
|
289
|
-
latencyMs?: number | undefined;
|
|
290
|
-
agentName?: string | undefined;
|
|
291
|
-
turnId?: string | undefined;
|
|
292
|
-
outcome?: "success" | "failure" | "escalated" | "abandoned" | undefined;
|
|
293
|
-
taskSuccess?: boolean | undefined;
|
|
294
|
-
}, {
|
|
295
|
-
role: "user" | "system" | "assistant" | "tool";
|
|
296
|
-
conversationId: string;
|
|
297
|
-
agentId: string;
|
|
298
|
-
type?: "agent.conversation" | undefined;
|
|
299
|
-
text?: string | undefined;
|
|
300
|
-
occurredAt?: string | undefined;
|
|
301
|
-
anonymousId?: string | null | undefined;
|
|
302
|
-
userId?: string | null | undefined;
|
|
303
|
-
accountId?: string | null | undefined;
|
|
304
|
-
sessionId?: string | null | undefined;
|
|
305
|
-
latencyMs?: number | undefined;
|
|
306
|
-
agentName?: string | undefined;
|
|
307
|
-
turnId?: string | undefined;
|
|
308
|
-
toolCalls?: {
|
|
309
|
-
name: string;
|
|
310
|
-
status?: "error" | "ok" | undefined;
|
|
311
|
-
latencyMs?: number | undefined;
|
|
312
|
-
}[] | undefined;
|
|
313
|
-
outcome?: "success" | "failure" | "escalated" | "abandoned" | undefined;
|
|
314
|
-
taskSuccess?: boolean | undefined;
|
|
315
|
-
metadata?: Record<string, unknown> | undefined;
|
|
316
|
-
}>;
|
|
189
|
+
userId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
190
|
+
anonymousId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
191
|
+
accountId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
192
|
+
sessionId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
193
|
+
metadata: z.ZodDefault<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, string | number | boolean | null>, Record<string, unknown>>>>;
|
|
194
|
+
}, z.core.$strip>;
|
|
317
195
|
type AgentTurn = z.output<typeof AgentTurnInputSchema>;
|
|
318
196
|
/** Body of `POST /api/v1/sdk/agent-events` (browser SDK, public key). */
|
|
319
197
|
declare const SdkAgentEventsSchema: z.ZodObject<{
|
|
320
198
|
turns: z.ZodArray<z.ZodObject<{
|
|
321
199
|
type: z.ZodOptional<z.ZodLiteral<"agent.conversation">>;
|
|
322
200
|
conversationId: z.ZodString;
|
|
323
|
-
agentId: z.
|
|
201
|
+
agentId: z.ZodString;
|
|
324
202
|
agentName: z.ZodOptional<z.ZodString>;
|
|
325
203
|
turnId: z.ZodOptional<z.ZodString>;
|
|
326
|
-
role: z.ZodEnum<
|
|
204
|
+
role: z.ZodEnum<{
|
|
205
|
+
user: "user";
|
|
206
|
+
system: "system";
|
|
207
|
+
assistant: "assistant";
|
|
208
|
+
tool: "tool";
|
|
209
|
+
}>;
|
|
327
210
|
text: z.ZodDefault<z.ZodString>;
|
|
328
211
|
toolCalls: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
329
212
|
name: z.ZodString;
|
|
330
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
213
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
214
|
+
error: "error";
|
|
215
|
+
ok: "ok";
|
|
216
|
+
}>>;
|
|
331
217
|
latencyMs: z.ZodOptional<z.ZodNumber>;
|
|
332
|
-
},
|
|
333
|
-
name: string;
|
|
334
|
-
status?: "error" | "ok" | undefined;
|
|
335
|
-
latencyMs?: number | undefined;
|
|
336
|
-
}, {
|
|
337
|
-
name: string;
|
|
338
|
-
status?: "error" | "ok" | undefined;
|
|
339
|
-
latencyMs?: number | undefined;
|
|
340
|
-
}>, "many">>;
|
|
218
|
+
}, z.core.$strip>>>;
|
|
341
219
|
latencyMs: z.ZodOptional<z.ZodNumber>;
|
|
342
|
-
outcome: z.ZodOptional<z.ZodEnum<
|
|
220
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
221
|
+
success: "success";
|
|
222
|
+
failure: "failure";
|
|
223
|
+
escalated: "escalated";
|
|
224
|
+
abandoned: "abandoned";
|
|
225
|
+
}>>;
|
|
343
226
|
taskSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
344
227
|
occurredAt: z.ZodOptional<z.ZodString>;
|
|
345
|
-
userId: z.
|
|
346
|
-
anonymousId: z.
|
|
347
|
-
accountId: z.
|
|
348
|
-
sessionId: z.
|
|
349
|
-
metadata: z.ZodDefault<z.
|
|
350
|
-
},
|
|
351
|
-
role: "user" | "system" | "assistant" | "tool";
|
|
352
|
-
text: string;
|
|
353
|
-
anonymousId: string | null;
|
|
354
|
-
userId: string | null;
|
|
355
|
-
accountId: string | null;
|
|
356
|
-
sessionId: string | null;
|
|
357
|
-
conversationId: string;
|
|
358
|
-
agentId: string;
|
|
359
|
-
toolCalls: {
|
|
360
|
-
name: string;
|
|
361
|
-
status?: "error" | "ok" | undefined;
|
|
362
|
-
latencyMs?: number | undefined;
|
|
363
|
-
}[];
|
|
364
|
-
metadata: Record<string, string | number | boolean | null>;
|
|
365
|
-
type?: "agent.conversation" | undefined;
|
|
366
|
-
occurredAt?: string | undefined;
|
|
367
|
-
latencyMs?: number | undefined;
|
|
368
|
-
agentName?: string | undefined;
|
|
369
|
-
turnId?: string | undefined;
|
|
370
|
-
outcome?: "success" | "failure" | "escalated" | "abandoned" | undefined;
|
|
371
|
-
taskSuccess?: boolean | undefined;
|
|
372
|
-
}, {
|
|
373
|
-
role: "user" | "system" | "assistant" | "tool";
|
|
374
|
-
conversationId: string;
|
|
375
|
-
agentId: string;
|
|
376
|
-
type?: "agent.conversation" | undefined;
|
|
377
|
-
text?: string | undefined;
|
|
378
|
-
occurredAt?: string | undefined;
|
|
379
|
-
anonymousId?: string | null | undefined;
|
|
380
|
-
userId?: string | null | undefined;
|
|
381
|
-
accountId?: string | null | undefined;
|
|
382
|
-
sessionId?: string | null | undefined;
|
|
383
|
-
latencyMs?: number | undefined;
|
|
384
|
-
agentName?: string | undefined;
|
|
385
|
-
turnId?: string | undefined;
|
|
386
|
-
toolCalls?: {
|
|
387
|
-
name: string;
|
|
388
|
-
status?: "error" | "ok" | undefined;
|
|
389
|
-
latencyMs?: number | undefined;
|
|
390
|
-
}[] | undefined;
|
|
391
|
-
outcome?: "success" | "failure" | "escalated" | "abandoned" | undefined;
|
|
392
|
-
taskSuccess?: boolean | undefined;
|
|
393
|
-
metadata?: Record<string, unknown> | undefined;
|
|
394
|
-
}>, "many">;
|
|
228
|
+
userId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
229
|
+
anonymousId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
230
|
+
accountId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
231
|
+
sessionId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
232
|
+
metadata: z.ZodDefault<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, string | number | boolean | null>, Record<string, unknown>>>>;
|
|
233
|
+
}, z.core.$strip>>;
|
|
395
234
|
sdk: z.ZodOptional<z.ZodObject<{
|
|
396
235
|
name: z.ZodString;
|
|
397
236
|
version: z.ZodString;
|
|
398
|
-
},
|
|
399
|
-
|
|
400
|
-
version: string;
|
|
401
|
-
}, {
|
|
402
|
-
name: string;
|
|
403
|
-
version: string;
|
|
404
|
-
}>>;
|
|
405
|
-
}, "strip", z.ZodTypeAny, {
|
|
406
|
-
turns: {
|
|
407
|
-
role: "user" | "system" | "assistant" | "tool";
|
|
408
|
-
text: string;
|
|
409
|
-
anonymousId: string | null;
|
|
410
|
-
userId: string | null;
|
|
411
|
-
accountId: string | null;
|
|
412
|
-
sessionId: string | null;
|
|
413
|
-
conversationId: string;
|
|
414
|
-
agentId: string;
|
|
415
|
-
toolCalls: {
|
|
416
|
-
name: string;
|
|
417
|
-
status?: "error" | "ok" | undefined;
|
|
418
|
-
latencyMs?: number | undefined;
|
|
419
|
-
}[];
|
|
420
|
-
metadata: Record<string, string | number | boolean | null>;
|
|
421
|
-
type?: "agent.conversation" | undefined;
|
|
422
|
-
occurredAt?: string | undefined;
|
|
423
|
-
latencyMs?: number | undefined;
|
|
424
|
-
agentName?: string | undefined;
|
|
425
|
-
turnId?: string | undefined;
|
|
426
|
-
outcome?: "success" | "failure" | "escalated" | "abandoned" | undefined;
|
|
427
|
-
taskSuccess?: boolean | undefined;
|
|
428
|
-
}[];
|
|
429
|
-
sdk?: {
|
|
430
|
-
name: string;
|
|
431
|
-
version: string;
|
|
432
|
-
} | undefined;
|
|
433
|
-
}, {
|
|
434
|
-
turns: {
|
|
435
|
-
role: "user" | "system" | "assistant" | "tool";
|
|
436
|
-
conversationId: string;
|
|
437
|
-
agentId: string;
|
|
438
|
-
type?: "agent.conversation" | undefined;
|
|
439
|
-
text?: string | undefined;
|
|
440
|
-
occurredAt?: string | undefined;
|
|
441
|
-
anonymousId?: string | null | undefined;
|
|
442
|
-
userId?: string | null | undefined;
|
|
443
|
-
accountId?: string | null | undefined;
|
|
444
|
-
sessionId?: string | null | undefined;
|
|
445
|
-
latencyMs?: number | undefined;
|
|
446
|
-
agentName?: string | undefined;
|
|
447
|
-
turnId?: string | undefined;
|
|
448
|
-
toolCalls?: {
|
|
449
|
-
name: string;
|
|
450
|
-
status?: "error" | "ok" | undefined;
|
|
451
|
-
latencyMs?: number | undefined;
|
|
452
|
-
}[] | undefined;
|
|
453
|
-
outcome?: "success" | "failure" | "escalated" | "abandoned" | undefined;
|
|
454
|
-
taskSuccess?: boolean | undefined;
|
|
455
|
-
metadata?: Record<string, unknown> | undefined;
|
|
456
|
-
}[];
|
|
457
|
-
sdk?: {
|
|
458
|
-
name: string;
|
|
459
|
-
version: string;
|
|
460
|
-
} | undefined;
|
|
461
|
-
}>;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
}, z.core.$strip>;
|
|
462
239
|
type SdkAgentEvents = z.output<typeof SdkAgentEventsSchema>;
|
|
463
240
|
/**
|
|
464
241
|
* Body of `POST /api/v1/agent-events` (server to server, secret key): `{ turns: [...], environment? }`,
|
|
465
242
|
* a bare array of turns, or a single turn (with `environment` beside its fields).
|
|
466
243
|
*/
|
|
467
|
-
declare const AgentEventsRequestSchema: z.
|
|
244
|
+
declare const AgentEventsRequestSchema: z.ZodPreprocess<z.ZodObject<{
|
|
468
245
|
turns: z.ZodArray<z.ZodObject<{
|
|
469
246
|
type: z.ZodOptional<z.ZodLiteral<"agent.conversation">>;
|
|
470
247
|
conversationId: z.ZodString;
|
|
471
|
-
agentId: z.
|
|
248
|
+
agentId: z.ZodString;
|
|
472
249
|
agentName: z.ZodOptional<z.ZodString>;
|
|
473
250
|
turnId: z.ZodOptional<z.ZodString>;
|
|
474
|
-
role: z.ZodEnum<
|
|
251
|
+
role: z.ZodEnum<{
|
|
252
|
+
user: "user";
|
|
253
|
+
system: "system";
|
|
254
|
+
assistant: "assistant";
|
|
255
|
+
tool: "tool";
|
|
256
|
+
}>;
|
|
475
257
|
text: z.ZodDefault<z.ZodString>;
|
|
476
258
|
toolCalls: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
477
259
|
name: z.ZodString;
|
|
478
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
260
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
261
|
+
error: "error";
|
|
262
|
+
ok: "ok";
|
|
263
|
+
}>>;
|
|
479
264
|
latencyMs: z.ZodOptional<z.ZodNumber>;
|
|
480
|
-
},
|
|
481
|
-
name: string;
|
|
482
|
-
status?: "error" | "ok" | undefined;
|
|
483
|
-
latencyMs?: number | undefined;
|
|
484
|
-
}, {
|
|
485
|
-
name: string;
|
|
486
|
-
status?: "error" | "ok" | undefined;
|
|
487
|
-
latencyMs?: number | undefined;
|
|
488
|
-
}>, "many">>;
|
|
265
|
+
}, z.core.$strip>>>;
|
|
489
266
|
latencyMs: z.ZodOptional<z.ZodNumber>;
|
|
490
|
-
outcome: z.ZodOptional<z.ZodEnum<
|
|
267
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
268
|
+
success: "success";
|
|
269
|
+
failure: "failure";
|
|
270
|
+
escalated: "escalated";
|
|
271
|
+
abandoned: "abandoned";
|
|
272
|
+
}>>;
|
|
491
273
|
taskSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
492
274
|
occurredAt: z.ZodOptional<z.ZodString>;
|
|
493
|
-
userId: z.
|
|
494
|
-
anonymousId: z.
|
|
495
|
-
accountId: z.
|
|
496
|
-
sessionId: z.
|
|
497
|
-
metadata: z.ZodDefault<z.
|
|
498
|
-
},
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
sessionId: string | null;
|
|
505
|
-
conversationId: string;
|
|
506
|
-
agentId: string;
|
|
507
|
-
toolCalls: {
|
|
508
|
-
name: string;
|
|
509
|
-
status?: "error" | "ok" | undefined;
|
|
510
|
-
latencyMs?: number | undefined;
|
|
511
|
-
}[];
|
|
512
|
-
metadata: Record<string, string | number | boolean | null>;
|
|
513
|
-
type?: "agent.conversation" | undefined;
|
|
514
|
-
occurredAt?: string | undefined;
|
|
515
|
-
latencyMs?: number | undefined;
|
|
516
|
-
agentName?: string | undefined;
|
|
517
|
-
turnId?: string | undefined;
|
|
518
|
-
outcome?: "success" | "failure" | "escalated" | "abandoned" | undefined;
|
|
519
|
-
taskSuccess?: boolean | undefined;
|
|
520
|
-
}, {
|
|
521
|
-
role: "user" | "system" | "assistant" | "tool";
|
|
522
|
-
conversationId: string;
|
|
523
|
-
agentId: string;
|
|
524
|
-
type?: "agent.conversation" | undefined;
|
|
525
|
-
text?: string | undefined;
|
|
526
|
-
occurredAt?: string | undefined;
|
|
527
|
-
anonymousId?: string | null | undefined;
|
|
528
|
-
userId?: string | null | undefined;
|
|
529
|
-
accountId?: string | null | undefined;
|
|
530
|
-
sessionId?: string | null | undefined;
|
|
531
|
-
latencyMs?: number | undefined;
|
|
532
|
-
agentName?: string | undefined;
|
|
533
|
-
turnId?: string | undefined;
|
|
534
|
-
toolCalls?: {
|
|
535
|
-
name: string;
|
|
536
|
-
status?: "error" | "ok" | undefined;
|
|
537
|
-
latencyMs?: number | undefined;
|
|
538
|
-
}[] | undefined;
|
|
539
|
-
outcome?: "success" | "failure" | "escalated" | "abandoned" | undefined;
|
|
540
|
-
taskSuccess?: boolean | undefined;
|
|
541
|
-
metadata?: Record<string, unknown> | undefined;
|
|
542
|
-
}>, "many">;
|
|
543
|
-
environment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
|
|
275
|
+
userId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
276
|
+
anonymousId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
277
|
+
accountId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
278
|
+
sessionId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
279
|
+
metadata: z.ZodDefault<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, string | number | boolean | null>, Record<string, unknown>>>>;
|
|
280
|
+
}, z.core.$strip>>;
|
|
281
|
+
environment: z.ZodDefault<z.ZodEnum<{
|
|
282
|
+
development: "development";
|
|
283
|
+
staging: "staging";
|
|
284
|
+
production: "production";
|
|
285
|
+
}>>;
|
|
544
286
|
sdk: z.ZodOptional<z.ZodObject<{
|
|
545
287
|
name: z.ZodString;
|
|
546
288
|
version: z.ZodString;
|
|
547
|
-
},
|
|
548
|
-
|
|
549
|
-
version: string;
|
|
550
|
-
}, {
|
|
551
|
-
name: string;
|
|
552
|
-
version: string;
|
|
553
|
-
}>>;
|
|
554
|
-
}, "strip", z.ZodTypeAny, {
|
|
555
|
-
environment: "development" | "staging" | "production";
|
|
556
|
-
turns: {
|
|
557
|
-
role: "user" | "system" | "assistant" | "tool";
|
|
558
|
-
text: string;
|
|
559
|
-
anonymousId: string | null;
|
|
560
|
-
userId: string | null;
|
|
561
|
-
accountId: string | null;
|
|
562
|
-
sessionId: string | null;
|
|
563
|
-
conversationId: string;
|
|
564
|
-
agentId: string;
|
|
565
|
-
toolCalls: {
|
|
566
|
-
name: string;
|
|
567
|
-
status?: "error" | "ok" | undefined;
|
|
568
|
-
latencyMs?: number | undefined;
|
|
569
|
-
}[];
|
|
570
|
-
metadata: Record<string, string | number | boolean | null>;
|
|
571
|
-
type?: "agent.conversation" | undefined;
|
|
572
|
-
occurredAt?: string | undefined;
|
|
573
|
-
latencyMs?: number | undefined;
|
|
574
|
-
agentName?: string | undefined;
|
|
575
|
-
turnId?: string | undefined;
|
|
576
|
-
outcome?: "success" | "failure" | "escalated" | "abandoned" | undefined;
|
|
577
|
-
taskSuccess?: boolean | undefined;
|
|
578
|
-
}[];
|
|
579
|
-
sdk?: {
|
|
580
|
-
name: string;
|
|
581
|
-
version: string;
|
|
582
|
-
} | undefined;
|
|
583
|
-
}, {
|
|
584
|
-
turns: {
|
|
585
|
-
role: "user" | "system" | "assistant" | "tool";
|
|
586
|
-
conversationId: string;
|
|
587
|
-
agentId: string;
|
|
588
|
-
type?: "agent.conversation" | undefined;
|
|
589
|
-
text?: string | undefined;
|
|
590
|
-
occurredAt?: string | undefined;
|
|
591
|
-
anonymousId?: string | null | undefined;
|
|
592
|
-
userId?: string | null | undefined;
|
|
593
|
-
accountId?: string | null | undefined;
|
|
594
|
-
sessionId?: string | null | undefined;
|
|
595
|
-
latencyMs?: number | undefined;
|
|
596
|
-
agentName?: string | undefined;
|
|
597
|
-
turnId?: string | undefined;
|
|
598
|
-
toolCalls?: {
|
|
599
|
-
name: string;
|
|
600
|
-
status?: "error" | "ok" | undefined;
|
|
601
|
-
latencyMs?: number | undefined;
|
|
602
|
-
}[] | undefined;
|
|
603
|
-
outcome?: "success" | "failure" | "escalated" | "abandoned" | undefined;
|
|
604
|
-
taskSuccess?: boolean | undefined;
|
|
605
|
-
metadata?: Record<string, unknown> | undefined;
|
|
606
|
-
}[];
|
|
607
|
-
environment?: "development" | "staging" | "production" | undefined;
|
|
608
|
-
sdk?: {
|
|
609
|
-
name: string;
|
|
610
|
-
version: string;
|
|
611
|
-
} | undefined;
|
|
612
|
-
}>, {
|
|
613
|
-
environment: "development" | "staging" | "production";
|
|
614
|
-
turns: {
|
|
615
|
-
role: "user" | "system" | "assistant" | "tool";
|
|
616
|
-
text: string;
|
|
617
|
-
anonymousId: string | null;
|
|
618
|
-
userId: string | null;
|
|
619
|
-
accountId: string | null;
|
|
620
|
-
sessionId: string | null;
|
|
621
|
-
conversationId: string;
|
|
622
|
-
agentId: string;
|
|
623
|
-
toolCalls: {
|
|
624
|
-
name: string;
|
|
625
|
-
status?: "error" | "ok" | undefined;
|
|
626
|
-
latencyMs?: number | undefined;
|
|
627
|
-
}[];
|
|
628
|
-
metadata: Record<string, string | number | boolean | null>;
|
|
629
|
-
type?: "agent.conversation" | undefined;
|
|
630
|
-
occurredAt?: string | undefined;
|
|
631
|
-
latencyMs?: number | undefined;
|
|
632
|
-
agentName?: string | undefined;
|
|
633
|
-
turnId?: string | undefined;
|
|
634
|
-
outcome?: "success" | "failure" | "escalated" | "abandoned" | undefined;
|
|
635
|
-
taskSuccess?: boolean | undefined;
|
|
636
|
-
}[];
|
|
637
|
-
sdk?: {
|
|
638
|
-
name: string;
|
|
639
|
-
version: string;
|
|
640
|
-
} | undefined;
|
|
641
|
-
}, unknown>;
|
|
289
|
+
}, z.core.$strip>>;
|
|
290
|
+
}, z.core.$strip>, unknown>;
|
|
642
291
|
type AgentEventsRequest = z.output<typeof AgentEventsRequestSchema>;
|
|
643
292
|
|
|
644
293
|
declare const FeedbackListRequestSchema: z.ZodObject<{
|
|
645
294
|
q: z.ZodOptional<z.ZodString>;
|
|
646
|
-
sort: z.ZodDefault<z.ZodEnum<
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
295
|
+
sort: z.ZodDefault<z.ZodEnum<{
|
|
296
|
+
top: "top";
|
|
297
|
+
new: "new";
|
|
298
|
+
trending: "trending";
|
|
299
|
+
}>>;
|
|
300
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
301
|
+
new: "new";
|
|
302
|
+
under_review: "under_review";
|
|
303
|
+
planned: "planned";
|
|
304
|
+
in_progress: "in_progress";
|
|
305
|
+
released: "released";
|
|
306
|
+
declined: "declined";
|
|
307
|
+
}>>;
|
|
308
|
+
filter: z.ZodDefault<z.ZodEnum<{
|
|
309
|
+
open: "open";
|
|
310
|
+
all: "all";
|
|
311
|
+
mine: "mine";
|
|
312
|
+
following: "following";
|
|
313
|
+
}>>;
|
|
650
314
|
productArea: z.ZodOptional<z.ZodString>;
|
|
651
315
|
page: z.ZodDefault<z.ZodNumber>;
|
|
652
316
|
anonymousId: z.ZodString;
|
|
653
317
|
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
654
|
-
},
|
|
655
|
-
sort: "top" | "new" | "trending";
|
|
656
|
-
filter: "open" | "all" | "mine" | "following";
|
|
657
|
-
anonymousId: string;
|
|
658
|
-
page: number;
|
|
659
|
-
status?: "new" | "under_review" | "planned" | "in_progress" | "released" | "declined" | undefined;
|
|
660
|
-
userId?: string | null | undefined;
|
|
661
|
-
q?: string | undefined;
|
|
662
|
-
productArea?: string | undefined;
|
|
663
|
-
}, {
|
|
664
|
-
anonymousId: string;
|
|
665
|
-
sort?: "top" | "new" | "trending" | undefined;
|
|
666
|
-
filter?: "open" | "all" | "mine" | "following" | undefined;
|
|
667
|
-
status?: "new" | "under_review" | "planned" | "in_progress" | "released" | "declined" | undefined;
|
|
668
|
-
userId?: string | null | undefined;
|
|
669
|
-
page?: number | undefined;
|
|
670
|
-
q?: string | undefined;
|
|
671
|
-
productArea?: string | undefined;
|
|
672
|
-
}>;
|
|
318
|
+
}, z.core.$strip>;
|
|
673
319
|
type FeedbackListRequest = z.infer<typeof FeedbackListRequestSchema>;
|
|
674
320
|
declare const FeedbackVisitorSchema: z.ZodObject<{
|
|
675
321
|
anonymousId: z.ZodString;
|
|
676
322
|
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
677
|
-
},
|
|
678
|
-
anonymousId: string;
|
|
679
|
-
userId?: string | null | undefined;
|
|
680
|
-
}, {
|
|
681
|
-
anonymousId: string;
|
|
682
|
-
userId?: string | null | undefined;
|
|
683
|
-
}>;
|
|
323
|
+
}, z.core.$strip>;
|
|
684
324
|
type FeedbackVisitorRequest = z.infer<typeof FeedbackVisitorSchema>;
|
|
685
325
|
declare const SubmitFeedbackSchema: z.ZodObject<{
|
|
686
326
|
title: z.ZodString;
|
|
687
327
|
description: z.ZodDefault<z.ZodString>;
|
|
688
328
|
productArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
689
|
-
priority: z.ZodDefault<z.ZodEnum<
|
|
690
|
-
|
|
329
|
+
priority: z.ZodDefault<z.ZodEnum<{
|
|
330
|
+
nice_to_have: "nice_to_have";
|
|
331
|
+
important: "important";
|
|
332
|
+
critical: "critical";
|
|
333
|
+
}>>;
|
|
691
334
|
conversationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
692
335
|
pageUrl: z.ZodOptional<z.ZodString>;
|
|
693
336
|
anonymousId: z.ZodString;
|
|
694
337
|
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
695
|
-
},
|
|
696
|
-
title: string;
|
|
697
|
-
priority: "nice_to_have" | "important" | "critical";
|
|
698
|
-
description: string;
|
|
699
|
-
anonymousId: string;
|
|
700
|
-
userId?: string | null | undefined;
|
|
701
|
-
pageUrl?: string | undefined;
|
|
702
|
-
conversationId?: string | null | undefined;
|
|
703
|
-
productArea?: string | null | undefined;
|
|
704
|
-
}, {
|
|
705
|
-
title: string;
|
|
706
|
-
anonymousId: string;
|
|
707
|
-
priority?: "nice_to_have" | "important" | "critical" | undefined;
|
|
708
|
-
description?: string | undefined;
|
|
709
|
-
userId?: string | null | undefined;
|
|
710
|
-
pageUrl?: string | undefined;
|
|
711
|
-
conversationId?: string | null | undefined;
|
|
712
|
-
productArea?: string | null | undefined;
|
|
713
|
-
}>;
|
|
338
|
+
}, z.core.$strip>;
|
|
714
339
|
type SubmitFeedbackRequest = z.infer<typeof SubmitFeedbackSchema>;
|
|
715
340
|
declare const FeedbackVoteSchema: z.ZodObject<{
|
|
716
|
-
priority: z.ZodDefault<z.ZodEnum<
|
|
341
|
+
priority: z.ZodDefault<z.ZodEnum<{
|
|
342
|
+
nice_to_have: "nice_to_have";
|
|
343
|
+
important: "important";
|
|
344
|
+
critical: "critical";
|
|
345
|
+
}>>;
|
|
717
346
|
note: z.ZodOptional<z.ZodString>;
|
|
718
347
|
conversationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
719
348
|
anonymousId: z.ZodString;
|
|
720
349
|
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
721
|
-
},
|
|
722
|
-
priority: "nice_to_have" | "important" | "critical";
|
|
723
|
-
anonymousId: string;
|
|
724
|
-
userId?: string | null | undefined;
|
|
725
|
-
conversationId?: string | null | undefined;
|
|
726
|
-
note?: string | undefined;
|
|
727
|
-
}, {
|
|
728
|
-
anonymousId: string;
|
|
729
|
-
priority?: "nice_to_have" | "important" | "critical" | undefined;
|
|
730
|
-
userId?: string | null | undefined;
|
|
731
|
-
conversationId?: string | null | undefined;
|
|
732
|
-
note?: string | undefined;
|
|
733
|
-
}>;
|
|
350
|
+
}, z.core.$strip>;
|
|
734
351
|
type FeedbackVoteRequest = z.infer<typeof FeedbackVoteSchema>;
|
|
735
352
|
declare const FeedbackFollowSchema: z.ZodObject<{
|
|
736
353
|
follow: z.ZodBoolean;
|
|
737
354
|
anonymousId: z.ZodString;
|
|
738
355
|
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
739
|
-
},
|
|
740
|
-
anonymousId: string;
|
|
741
|
-
follow: boolean;
|
|
742
|
-
userId?: string | null | undefined;
|
|
743
|
-
}, {
|
|
744
|
-
anonymousId: string;
|
|
745
|
-
follow: boolean;
|
|
746
|
-
userId?: string | null | undefined;
|
|
747
|
-
}>;
|
|
356
|
+
}, z.core.$strip>;
|
|
748
357
|
declare const FeedbackCommentSchema: z.ZodObject<{
|
|
749
358
|
body: z.ZodString;
|
|
750
359
|
anonymousId: z.ZodString;
|
|
751
360
|
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
752
|
-
},
|
|
753
|
-
body: string;
|
|
754
|
-
anonymousId: string;
|
|
755
|
-
userId?: string | null | undefined;
|
|
756
|
-
}, {
|
|
757
|
-
body: string;
|
|
758
|
-
anonymousId: string;
|
|
759
|
-
userId?: string | null | undefined;
|
|
760
|
-
}>;
|
|
361
|
+
}, z.core.$strip>;
|
|
761
362
|
declare const FeedbackSimilarSchema: z.ZodObject<{
|
|
762
363
|
title: z.ZodString;
|
|
763
364
|
anonymousId: z.ZodString;
|
|
764
365
|
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
765
|
-
},
|
|
766
|
-
title: string;
|
|
767
|
-
anonymousId: string;
|
|
768
|
-
userId?: string | null | undefined;
|
|
769
|
-
}, {
|
|
770
|
-
title: string;
|
|
771
|
-
anonymousId: string;
|
|
772
|
-
userId?: string | null | undefined;
|
|
773
|
-
}>;
|
|
366
|
+
}, z.core.$strip>;
|
|
774
367
|
declare const FeedbackUpdatesReadSchema: z.ZodObject<{
|
|
775
|
-
ids: z.ZodOptional<z.ZodArray<z.ZodString
|
|
368
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
776
369
|
anonymousId: z.ZodString;
|
|
777
370
|
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
778
|
-
},
|
|
779
|
-
anonymousId: string;
|
|
780
|
-
userId?: string | null | undefined;
|
|
781
|
-
ids?: string[] | undefined;
|
|
782
|
-
}, {
|
|
783
|
-
anonymousId: string;
|
|
784
|
-
userId?: string | null | undefined;
|
|
785
|
-
ids?: string[] | undefined;
|
|
786
|
-
}>;
|
|
371
|
+
}, z.core.$strip>;
|
|
787
372
|
|
|
788
373
|
interface GuideTemplate {
|
|
789
374
|
id: string;
|
|
@@ -797,11 +382,9 @@ declare const GUIDE_TEMPLATES: GuideTemplate[];
|
|
|
797
382
|
declare function templateConfig(id: string): {
|
|
798
383
|
template: GuideTemplate;
|
|
799
384
|
config: {
|
|
800
|
-
visibility: "everyone" | "identified" | "anonymous";
|
|
801
|
-
targeting: RuleGroup;
|
|
802
385
|
steps: {
|
|
803
|
-
type: "custom" | "modal" | "tooltip" | "banner" | "checklist" | "survey" | "popover" | "spotlight" | "hotspot" | "slideout";
|
|
804
386
|
id: string;
|
|
387
|
+
type: "custom" | "modal" | "tooltip" | "banner" | "checklist" | "survey" | "popover" | "spotlight" | "hotspot" | "slideout";
|
|
805
388
|
title: string;
|
|
806
389
|
body: string;
|
|
807
390
|
buttons: {
|
|
@@ -820,25 +403,19 @@ declare function templateConfig(id: string): {
|
|
|
820
403
|
dismissOnOutsideClick: boolean;
|
|
821
404
|
spotlightPadding: number;
|
|
822
405
|
position: "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "center";
|
|
823
|
-
advanceOn: "button" | "event" | "element_click" | "element_visible" | "delay"
|
|
406
|
+
advanceOn: "any" | "button" | "event" | "element_click" | "element_visible" | "delay";
|
|
824
407
|
branches: {
|
|
825
408
|
id: string;
|
|
826
409
|
when: RuleGroup;
|
|
827
410
|
goTo: string;
|
|
828
411
|
}[];
|
|
829
|
-
code?: string | undefined;
|
|
830
|
-
hotspot?: {
|
|
831
|
-
size: number;
|
|
832
|
-
pulse: boolean;
|
|
833
|
-
openOn: "click" | "hover";
|
|
834
|
-
} | undefined;
|
|
835
|
-
url?: string | undefined;
|
|
836
412
|
imageUrl?: string | undefined;
|
|
837
413
|
imageAlt?: string | undefined;
|
|
414
|
+
videoUrl?: string | undefined;
|
|
838
415
|
target?: {
|
|
839
416
|
selectors: {
|
|
840
|
-
value: string;
|
|
841
417
|
kind: "id" | "text" | "css" | "data-attr" | "aria" | "xpath" | "guidely-id";
|
|
418
|
+
value: string;
|
|
842
419
|
label?: string | undefined;
|
|
843
420
|
}[];
|
|
844
421
|
waitMs: number;
|
|
@@ -846,12 +423,21 @@ declare function templateConfig(id: string): {
|
|
|
846
423
|
scrollIntoView: boolean;
|
|
847
424
|
textSnapshot?: string | undefined;
|
|
848
425
|
} | undefined;
|
|
426
|
+
url?: string | undefined;
|
|
849
427
|
advanceValue?: string | undefined;
|
|
850
428
|
advanceDelayMs?: number | undefined;
|
|
851
429
|
width?: number | undefined;
|
|
852
430
|
targeting?: RuleGroup | undefined;
|
|
431
|
+
hotspot?: {
|
|
432
|
+
size: number;
|
|
433
|
+
pulse: boolean;
|
|
434
|
+
openOn: "click" | "hover";
|
|
435
|
+
} | undefined;
|
|
853
436
|
customHtml?: string | undefined;
|
|
437
|
+
code?: string | undefined;
|
|
854
438
|
}[];
|
|
439
|
+
visibility: "everyone" | "identified" | "anonymous";
|
|
440
|
+
targeting: RuleGroup;
|
|
855
441
|
trigger: {
|
|
856
442
|
type: "event" | "element_click" | "element_visible" | "delay" | "page_load" | "url_match" | "manual" | "after_guide" | "segment_enter";
|
|
857
443
|
delayMs: number;
|
|
@@ -884,48 +470,48 @@ declare function templateConfig(id: string): {
|
|
|
884
470
|
urlPatterns: string[];
|
|
885
471
|
platforms: ("web" | "ios" | "android")[];
|
|
886
472
|
checklist?: {
|
|
887
|
-
position: "bottom-left" | "bottom-right";
|
|
888
473
|
tasks: {
|
|
889
474
|
id: string;
|
|
890
|
-
action: "url" | "start_guide" | "event" | "none";
|
|
891
475
|
title: string;
|
|
892
476
|
description: string;
|
|
893
477
|
completion: "event" | "click" | "manual" | "guide_completed" | "url_visited";
|
|
478
|
+
action: "url" | "start_guide" | "event" | "none";
|
|
894
479
|
required: boolean;
|
|
895
480
|
completionValue?: string | undefined;
|
|
896
481
|
actionValue?: string | undefined;
|
|
897
482
|
}[];
|
|
898
483
|
ordered: boolean;
|
|
899
484
|
launcherLabel: string;
|
|
485
|
+
position: "bottom-left" | "bottom-right";
|
|
900
486
|
completionTitle: string;
|
|
901
487
|
completionBody: string;
|
|
902
488
|
autoOpen: boolean;
|
|
903
489
|
dismissible: boolean;
|
|
904
490
|
} | undefined;
|
|
905
491
|
survey?: {
|
|
906
|
-
position: "bottom-left" | "bottom-right" | "center";
|
|
907
492
|
questions: {
|
|
908
|
-
options: {
|
|
909
|
-
id: string;
|
|
910
|
-
label: string;
|
|
911
|
-
}[];
|
|
912
|
-
type: "text" | "nps" | "csat" | "thumbs" | "single_choice" | "multiple_choice" | "rating";
|
|
913
493
|
id: string;
|
|
494
|
+
type: "text" | "nps" | "csat" | "thumbs" | "single_choice" | "multiple_choice" | "rating";
|
|
914
495
|
title: string;
|
|
915
496
|
description: string;
|
|
916
497
|
required: boolean;
|
|
498
|
+
options: {
|
|
499
|
+
id: string;
|
|
500
|
+
label: string;
|
|
501
|
+
}[];
|
|
917
502
|
scaleMax?: number | undefined;
|
|
918
503
|
lowLabel?: string | undefined;
|
|
919
504
|
highLabel?: string | undefined;
|
|
920
505
|
placeholder?: string | undefined;
|
|
921
506
|
showWhen?: {
|
|
922
|
-
value: string | number | string[];
|
|
923
|
-
op: "equals" | "lte" | "gte" | "in";
|
|
924
507
|
questionId: string;
|
|
508
|
+
op: "equals" | "lte" | "gte" | "in";
|
|
509
|
+
value: string | number | string[];
|
|
925
510
|
} | undefined;
|
|
926
511
|
}[];
|
|
927
512
|
thankYouTitle: string;
|
|
928
513
|
thankYouBody: string;
|
|
514
|
+
position: "bottom-left" | "bottom-right" | "center";
|
|
929
515
|
startAt?: string | undefined;
|
|
930
516
|
endAt?: string | undefined;
|
|
931
517
|
} | undefined;
|
|
@@ -987,6 +573,6 @@ declare function parseCsvRows(text: string): string[][];
|
|
|
987
573
|
declare function parseTranslationCsv(text: string): ParsedTranslations;
|
|
988
574
|
|
|
989
575
|
declare const SDK_API_VERSION = "v1";
|
|
990
|
-
declare const SHARED_VERSION = "0.
|
|
576
|
+
declare const SHARED_VERSION = "0.16.0";
|
|
991
577
|
|
|
992
578
|
export { APP_LIFECYCLE_EVENTS, AUTOCAPTURE_EVENTS, type AgentEventsRequest, AgentEventsRequestSchema, AgentMetadataSchema, AgentToolCallSchema, type AgentTurn, AgentTurnInputSchema, EVENT_NAMES, type EventBatch, EventBatchSchema, type EventName, FeedbackCommentSchema, FeedbackFollowSchema, type FeedbackListRequest, FeedbackListRequestSchema, FeedbackSimilarSchema, FeedbackUpdatesReadSchema, type FeedbackVisitorRequest, FeedbackVisitorSchema, type FeedbackVoteRequest, FeedbackVoteSchema, type FileComplaintRequest, FileComplaintSchema, GUIDE_LIFECYCLE_EVENTS, GUIDE_TEMPLATES, GuideConfigInput, GuideKind, type GuideTemplate, type ParsedTranslations, Rule, RuleGroup, RuleGroupSchema, RuleSchema, SCRIPT_STUB, SCRIPT_STUB_METHODS, SDK_API_VERSION, SHARED_VERSION, type SdkAgentEvents, SdkAgentEventsSchema, type SdkEvent, SdkEventSchema, type SubmitFeedbackRequest, SubmitFeedbackSchema, type TranslationUnit, parseCsvRows, parseTranslationCsv, parseXliff, scriptSnippet, templateConfig, toTranslationCsv, toXliff };
|