@guidelytech/shared 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
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';
1
+ import { R as RuleGroup, a as Rule, G as GuideKind, b as GuideConfigInput } from './runtime-x-0GT7HM.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 Breadcrumb, K as BugReportInput, L as BugReportResponse, M as ButtonSchema, N as CAPTURE_PARAM, O as CAPTURE_SCREENSHOT_MAX_BYTES, P as COMMON_LOCALES, Q as COMPLAINT_EVENTS, S as COMPLAINT_FIELD_TYPES, T as COMPLAINT_STATUSES, U as CONTROL_VARIANT_ID, V as CaptureSessionInfo, W as CaptureSettings, X as CaptureStep, Y as CaptureStepInput, Z as CaptureStepSchema, _ as CapturedElement, $ as CapturedElementSchema, a0 as ChecklistConfig, a1 as ChecklistConfigSchema, a2 as ChecklistProgressRequest, a3 as ChecklistProgressRequestSchema, a4 as ChecklistTask, a5 as ChecklistTaskSchema, a6 as ClickFacts, a7 as ComplaintEvent, a8 as ComplaintField, a9 as ComplaintFieldType, aa as ComplaintStatus, ab as ComplexSelector, ac as Compound, ad as ContrastIssue, ae as ConversationLookupResponse, af as ConversationLookupSchema, ag as ConversationMessagesResponse, ah as ConversationRatingSchema, ai as ConversationStatus, aj as DEFAULT_CAPTURE_SETTINGS, ak as DEFAULT_FEATURE_ATTRIBUTE, al as DEFAULT_LOCALE, am as DEFAULT_PLATFORMS, an as DetailException, ao as DetailFrame, ap as DetailMechanism, aq as EMBED_IFRAME_ATTRS, ar as ElementNode, as as ElementSnapshot, at as EmbedProvider, au as ErrorFilterPattern, av as ErrorLevelName, aw as ErrorTrackingSettings, ax as ErrorTrackingSettingsSchema, ay as ExceptionDetail, az as ExceptionProperties, aA as FEATURE_ATTRIBUTE_PATTERN, aB as FEATURE_RULE_LIMITS, aC as FEEDBACK_EVENTS, aD as FEEDBACK_PRIORITIES, aE as FEEDBACK_PRIORITY_LABEL, aF as FEEDBACK_PRIORITY_WEIGHT, aG as FEEDBACK_STATUSES, aH as FEEDBACK_STATUS_LABEL, aI as FILE_LINK_CLASS, aJ as FeatureRule, aK as FeedbackEvent, aL as FeedbackPriority, aM as FeedbackStatus, aN as FeedbackUpdate, aO as FeedbackUpdatesResponse, aP as FileComplaintResponse, aQ as FrequencyConfig, aR as FrequencySchema, aS as GUIDELY_ID_ATTRIBUTE, aT as GUIDE_EXPERIMENT_GOALS, aU as GUIDE_EXPERIMENT_GOAL_LABELS, aV as GUIDE_EXPERIMENT_STATUSES, aW as GUIDE_KINDS, aX as GUIDE_STATUSES, aY as GUIDE_VISIBILITIES, aZ as GuideConfig, a_ as GuideConfigSchema, a$ as GuideExperimentGoal, b0 as GuideExperimentGoalKind, b1 as GuideExperimentStatus, b2 as GuideExperimentVariant, b3 as GuideHoldout, b4 as GuideLocalization, b5 as GuideLocalizationSchema, b6 as GuideSchedule, b7 as GuideScheduleSchema, b8 as GuideStateUpdateSchema, b9 as GuideStatus, ba as GuideStep, bb as GuideStepInput, bc as GuideThrottlingSchema, bd as GuideThrottlingSettings, be as GuideVisibility, bf as HEATMAP_VIEWPORTS, bg as HOWTO_ACTIONS, bh as HOWTO_STEP_KINDS, bi as HeatmapPoint, bj as HeatmapProperties, bk as HeatmapViewport, bl as HowToAction, bm as HowToAnnotation, bn as HowToAnnotationSchema, bo as HowToStepKind, bp as IdentifyRequest, bq as IdentifyRequestSchema, br as IdentifyResponse, bs as LOCALE_PATTERN, bt as LOGGED_IN_AUDIENCE, bu as LocaleSchema, bv as LocalizationSettings, bw as LocalizationSettingsSchema, bx as MAX_ANNOTATIONS, by as MAX_APP_VERSION_LENGTH, bz as MAX_BREADCRUMBS, bA as MAX_BUG_REPORT_LENGTH, bB as MAX_BUG_REPORT_SCREENSHOT_BYTES, bC as MAX_COLLECTION_DEPTH, bD as MAX_COMPLAINT_ANSWER_LENGTH, bE as MAX_COMPLAINT_ATTACHMENT_BYTES, bF as MAX_COMPLAINT_CHOICES, bG as MAX_COMPLAINT_FIELDS, bH as MAX_COMPLAINT_LENGTH, bI as MAX_CUSTOM_CSS, bJ as MAX_DEBUG_IMAGES, bK as MAX_DETAIL_FRAMES, bL as MAX_DETAIL_THREADS, bM as MAX_ERROR_TAGS, bN as MAX_EXCEPTION_CHAIN, bO as MAX_EXCEPTION_DETAIL_BYTES, bP as MAX_EXCEPTION_DETAIL_RAW_BYTES, bQ as MAX_FEEDBACK_COMMENT, bR as MAX_FEEDBACK_DESCRIPTION, bS as MAX_FEEDBACK_NOTE, bT as MAX_FEEDBACK_TITLE, bU as MAX_MESSAGE_LENGTH, bV as MAX_PROPERTY_BYTES, bW as MAX_STACK_FRAMES, bX as MEDIA_FILE_MAX_BYTES, bY as MEDIA_FILE_TYPES, bZ as MEDIA_IMAGE_MAX_BYTES, b_ as MEDIA_IMAGE_TYPES, b$ as MEDIA_MAX_BYTES, c0 as MEDIA_VIDEO_MAX_BYTES, c1 as MEDIA_VIDEO_TYPES, c2 as MESSAGE_AUTHORS, c3 as MediaContentType, c4 as MediaKind, c5 as MessageAuthor, c6 as MessengerCitation, c7 as MessengerComplaint, c8 as MessengerComplaintCategory, c9 as MessengerComplaintOffer, ca as MessengerComplaintsConfig, cb as MessengerConfig, cc as MessengerConversation, cd as MessengerHomeCards, ce as MessengerHowToCitation, cf as MessengerIdeaOffer, cg as MessengerIdeasConfig, ch as MessengerMessage, ci as MessengerPageContent, cj as MessengerPageRequest, ck as MessengerPageRequestSchema, cl as MessengerPageSuggestion, cm as MessengerStatus, cn as MessengerSuggestedGuide, co as MessengerTeammate, cp as NETWORK_PLUGIN, cq as NOISY_DATA_ATTR, cr as NetworkPluginPayload, cs as NetworkRequest, ct as NetworkRequestType, cu as NormalizedPointSchema, cv as NormalizedRect, cw as NormalizedRectSchema, cx as PAGE_RULE_LIMITS, cy as PATH_ID_PATTERN, cz as PDF_BLOCK_CLASS, cA as PDF_MAX_PAGES, cB as PDF_PAGES_CLASS, cC as PLACEMENTS, cD as PLATFORMS, cE as PageContext, cF as PagePattern, cG as PageRule, cH as PerformanceSettings, cI as PerformanceSettingsSchema, cJ as Placement, cK as Platform, cL as PostMessageSchema, cM as ProjectTheme, cN as ProjectThemeSchema, cO as PublicFeedbackComment, cP as PublicFeedbackList, cQ as PublicFeedbackRequest, cR as PublicFeedbackRequestDetail, cS as PublishedGuide, cT as PublishedGuideSchema, cU as QueryParamCondition, cV as QueryParamOp, cW as RC_MODULE_IDS, cX as RC_MODULE_LABELS, cY as RECORDING_LEVELS, cZ as REPLAY_MAX_COMPRESSED_BYTES, c_ as REPLAY_MAX_RAW_BYTES, c$ as REPLY_TIMES, d0 as RULE_FIELDS, d1 as RULE_OPERATORS, d2 as RcArticleLike, d3 as RcCollectionLike, d4 as RcSection, d5 as RecordingLevel, d6 as ReplayChunk, d7 as ReplayChunkSchema, d8 as ReplaySettings, d9 as ReplaySettingsSchema, da as ReplyTime, db as ResourceCenterAnnouncement, dc as ResourceCenterArticle, dd as ResourceCenterCollection, de as ResourceCenterConfig, df as ResourceCenterModule, dg as ResourceCenterModuleId, dh as ResourceCenterTranslations, di as RuleField, dj as RuleOperator, dk as SCOUT_AGENT_ID, dl as SELECTOR_KINDS, dm as SENSITIVE_HEADER_PATTERN, dn as SENSITIVE_PARAM_PATTERN, dp as SENSITIVE_PROPERTY_PATTERN, dq as SERVER_ASSISTED_FIELDS, dr as SHOW_ME_CLASS, ds as SHOW_ME_HREF_PREFIX, dt as SNAPSHOT_ATTRS, du as SNAPSHOT_LIMITS, dv as SOURCEMAP_MAX_FILES_PER_UPLOAD, dw as SOURCEMAP_MAX_FILE_BYTES, dx as STATUS_LEVELS, dy as STEP_TYPES, dz 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, dO as StartConversationRequest, dP as StartConversationResponse, dQ as StartConversationSchema, dR as StatusLevel, dS as StepBranchSchema, dT as StepButton, dU as StepSchema, dV as StepTarget, dW as StepType, dX as SurveyAnswer, dY as SurveyAnswers, dZ as SurveyConfig, d_ as SurveyConfigSchema, d$ as SurveyQuestion, e0 as SurveyQuestionSchema, e1 as SurveyResponseRequest, e2 as SurveyResponseRequestSchema, e3 as TAG_PROPERTY_LIMITS, e4 as TRIGGER_TYPES, e5 as TagPropertyConfig, e6 as TagPropertyDefinition, e7 as TaggingSdkConfig, e8 as TargetSchema, e9 as TargetingContext, ea as TextEntry, eb as TextKind, ec as TranslationCoverage, ed as TranslationReviewMap, ee as TranslationReviewState, ef as TriggerConfig, eg as TriggerSchema, eh as VIDEO_ATTRS, ei as ValidationIssue, ej as VideoEmbed, ek as WCAG_AA_LARGE, el as WCAG_AA_TEXT, em as WS_MAX_MESSAGES_PER_SOCKET, en as WS_MAX_MESSAGE_BYTES, eo as WebSocketMessage, ep as applyGuideTranslations, eq as articleHref, er as articleIdFromHref, es as articleTextEntries, et as assignGuideVariant, eu as baseLanguage, ev as clamp, ew as cleanLabel, ex as compare, ey as compareVersions, ez as complaintReference, eA as compoundMatches, eB as contrastIssues, eC as contrastRatio, eD as cssSelectorError, eE as customFingerprint, eF as defaultGuideConfig, eG as defaultStep, eH as describeCaptureStep, eI as describeRule, eJ as emptyRuleGroup, eK as errorFilterDrops, eL as evaluateRule, eM as evaluateRules, eN as evenWeights, eO as experimentBucketRules, eP as experimentSalt, eQ as featureCssSelectors, eR as featureRuleError, eS as featureRuleMatchesClick, eT as feedbackReference, eU as fingerprintError, eV as firstNameFromTraits, eW as fnv1a, eX as foldPathIds, eY as getPath, eZ as guideLocales, e_ as guidePlatforms, e$ as guideTextEntries, f0 as guidelyIdFromSelector, f1 as hasVideoMedia, f2 as isAllowedEmbedSrc, f3 as isArticleListed, f4 as isChecklistComplete, f5 as isFileLink, f6 as isMediaContentType, f7 as isPlainObject, f8 as isQuestionVisible, f9 as isRuleGroup, fa as isSafeMediaUrl, fb as isVideoContentType, fc as isVideoFileUrl, fd as localeName, fe as localizeAnnouncement, ff as localizeArticle, fg as localizeGuide, fh as localizeResourceCenter, fi as matchCssSelector, fj as matchUrlPattern, fk as matchesAudiences, fl as matchesHelpQuery, fm as mediaKind, fn as mediaMaxBytes, fo as needsReview, fp as normalizeAppVersion, fq as normalizeErrorMessage, fr as normalizeFrameFile, fs as normalizeLocale, ft as normalizeSnapshot, fu as normalizeTags, fv as orderedModules, fw as pageLabel, fx as pageName, fy as pagePattern, fz 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 reactNativeBundleUrl, fK as readableTextOn, fL as recordingLevel, fM as relativeLuminance, fN as resolveCaptureSettings, fO as resolveLocale, fP as resourceCenterLocales, fQ as resourceCenterSections, fR as resourceCenterTextEntries, fS as rolloutBucket, fT as safeRegExp, fU as sanitizeCustomCss, fV as sanitizeProperties, fW as scopeCustomCss, fX as screenPath, fY as servedArticleAudiences, fZ as showMeHref, f_ as showMeKeyFromHref, f$ as showMeKeys, g0 as slugify, g1 as snapshotFromSelector, g2 as stableStringify, g3 as stepVideo, g4 as stripOrigin, g5 as supportsPlatform, g6 as toEmbedUrl, g7 as translationCoverage, g8 as trimExceptionDetail, g9 as unreadAnnouncements, ga as validateGuideConfig, gb as variantProblems, gc as variantRanges, gd as videoThumbnailUrl, ge as visibleAnnouncements, gf as visibleArticleIds, gg as visibleButtons, gh as visitorAudiences, gi as visitorLocales, gj as withExperimentBucket, gk as withRecordingLevel, gl as withVisibility } from './runtime-x-0GT7HM.cjs';
3
3
  import { z } from 'zod';
4
4
 
5
5
  declare const RuleSchema: z.ZodType<Rule>;
@@ -19,6 +19,7 @@ declare const SdkEventSchema: z.ZodObject<{
19
19
  custom: "custom";
20
20
  click: "click";
21
21
  guide_completed: "guide_completed";
22
+ exception: "exception";
22
23
  guide_viewed: "guide_viewed";
23
24
  guide_started: "guide_started";
24
25
  step_viewed: "step_viewed";
@@ -43,7 +44,6 @@ declare const SdkEventSchema: z.ZodObject<{
43
44
  identify: "identify";
44
45
  page_leave: "page_leave";
45
46
  rage_click: "rage_click";
46
- exception: "exception";
47
47
  heatmap: "heatmap";
48
48
  experiment_viewed: "experiment_viewed";
49
49
  app_install: "app_install";
@@ -62,7 +62,9 @@ declare const SdkEventSchema: z.ZodObject<{
62
62
  stepId: z.ZodOptional<z.ZodString>;
63
63
  stepIndex: z.ZodOptional<z.ZodNumber>;
64
64
  url: z.ZodOptional<z.ZodString>;
65
+ appVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
65
66
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
67
+ detail: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>, unknown>;
66
68
  }, z.core.$strip>;
67
69
  type SdkEvent = z.infer<typeof SdkEventSchema>;
68
70
  declare const EventBatchSchema: z.ZodObject<{
@@ -72,6 +74,7 @@ declare const EventBatchSchema: z.ZodObject<{
72
74
  custom: "custom";
73
75
  click: "click";
74
76
  guide_completed: "guide_completed";
77
+ exception: "exception";
75
78
  guide_viewed: "guide_viewed";
76
79
  guide_started: "guide_started";
77
80
  step_viewed: "step_viewed";
@@ -96,7 +99,6 @@ declare const EventBatchSchema: z.ZodObject<{
96
99
  identify: "identify";
97
100
  page_leave: "page_leave";
98
101
  rage_click: "rage_click";
99
- exception: "exception";
100
102
  heatmap: "heatmap";
101
103
  experiment_viewed: "experiment_viewed";
102
104
  app_install: "app_install";
@@ -115,7 +117,9 @@ declare const EventBatchSchema: z.ZodObject<{
115
117
  stepId: z.ZodOptional<z.ZodString>;
116
118
  stepIndex: z.ZodOptional<z.ZodNumber>;
117
119
  url: z.ZodOptional<z.ZodString>;
120
+ appVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
118
121
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
122
+ detail: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>, unknown>;
119
123
  }, z.core.$strip>>;
120
124
  sentAt: z.ZodOptional<z.ZodString>;
121
125
  sdk: z.ZodOptional<z.ZodObject<{
@@ -141,6 +145,33 @@ declare const FileComplaintSchema: z.ZodObject<{
141
145
  }, z.core.$strip>;
142
146
  type FileComplaintRequest = z.infer<typeof FileComplaintSchema>;
143
147
 
148
+ /** Body of `POST /v1/sdk/bug-reports` (Guidely's own SDKs; Sentry SDKs use the envelope endpoint). */
149
+ declare const BugReportSchema: z.ZodObject<{
150
+ anonymousId: z.ZodString;
151
+ userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
152
+ sessionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
153
+ message: z.ZodString;
154
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
155
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
156
+ associatedEventId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
157
+ url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
158
+ appVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
159
+ source: z.ZodDefault<z.ZodEnum<{
160
+ widget: "widget";
161
+ api: "api";
162
+ }>>;
163
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
164
+ sdk: z.ZodOptional<z.ZodObject<{
165
+ name: z.ZodString;
166
+ version: z.ZodString;
167
+ }, z.core.$strip>>;
168
+ screenshot: z.ZodNullable<z.ZodOptional<z.ZodObject<{
169
+ fileName: z.ZodString;
170
+ data: z.ZodString;
171
+ }, z.core.$strip>>>;
172
+ }, z.core.$strip>;
173
+ type BugReportRequest = z.infer<typeof BugReportSchema>;
174
+
144
175
  /** A tool call: name, status and latency only. Anything else (arguments, results) is dropped, never stored. */
145
176
  declare const AgentToolCallSchema: z.ZodObject<{
146
177
  name: z.ZodString;
@@ -278,11 +309,7 @@ declare const AgentEventsRequestSchema: z.ZodPreprocess<z.ZodObject<{
278
309
  sessionId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
279
310
  metadata: z.ZodDefault<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, string | number | boolean | null>, Record<string, unknown>>>>;
280
311
  }, z.core.$strip>>;
281
- environment: z.ZodDefault<z.ZodEnum<{
282
- development: "development";
283
- staging: "staging";
284
- production: "production";
285
- }>>;
312
+ environment: z.ZodDefault<z.ZodString>;
286
313
  sdk: z.ZodOptional<z.ZodObject<{
287
314
  name: z.ZodString;
288
315
  version: z.ZodString;
@@ -536,7 +563,7 @@ declare function templateConfig(id: string): {
536
563
  * which the SDK upgrades in place to forward to the real client. Flag reads return their fallback
537
564
  * until then. ES5 only: it runs on the customer's page before anything else.
538
565
  */
539
- declare const SCRIPT_STUB_METHODS: readonly ["identify", "track", "page", "reset", "setAccount", "updateTraits", "setConsent", "setLocale", "startGuide", "stopGuide", "dismissGuide", "openMessenger", "closeMessenger", "showNewMessage", "openResourceCenter", "closeResourceCenter", "openChecklist", "closeChecklist", "completeChecklistTask", "openComplaint", "openIdeas", "captureException", "agentConversation", "trackAgentTurn", "on"];
566
+ declare const SCRIPT_STUB_METHODS: readonly ["identify", "track", "page", "reset", "setAccount", "updateTraits", "setConsent", "setLocale", "startGuide", "stopGuide", "dismissGuide", "openMessenger", "closeMessenger", "showNewMessage", "openResourceCenter", "closeResourceCenter", "openChecklist", "closeChecklist", "completeChecklistTask", "openComplaint", "openIdeas", "captureException", "captureFeedback", "showBugReport", "captureMessage", "addBreadcrumb", "setTag", "setTags", "setExtra", "setExtras", "setContext", "setUser", "agentConversation", "trackAgentTurn", "on"];
540
567
  declare const SCRIPT_STUB: string;
541
568
  /** The full script-tag install: stub, init (queued until the SDK loads), then the async SDK script. */
542
569
  declare function scriptSnippet(scriptUrl: string, initOptions: string): string;
@@ -573,6 +600,6 @@ declare function parseCsvRows(text: string): string[][];
573
600
  declare function parseTranslationCsv(text: string): ParsedTranslations;
574
601
 
575
602
  declare const SDK_API_VERSION = "v1";
576
- declare const SHARED_VERSION = "0.16.0";
603
+ declare const SHARED_VERSION = "0.17.0";
577
604
 
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 };
605
+ export { APP_LIFECYCLE_EVENTS, AUTOCAPTURE_EVENTS, type AgentEventsRequest, AgentEventsRequestSchema, AgentMetadataSchema, AgentToolCallSchema, type AgentTurn, AgentTurnInputSchema, type BugReportRequest, BugReportSchema, 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 };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as RuleGroup, a as Rule, G as GuideKind, b as GuideConfigInput } from './runtime-CAtOOY7X.js';
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.js';
1
+ import { R as RuleGroup, a as Rule, G as GuideKind, b as GuideConfigInput } from './runtime-x-0GT7HM.js';
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 Breadcrumb, K as BugReportInput, L as BugReportResponse, M as ButtonSchema, N as CAPTURE_PARAM, O as CAPTURE_SCREENSHOT_MAX_BYTES, P as COMMON_LOCALES, Q as COMPLAINT_EVENTS, S as COMPLAINT_FIELD_TYPES, T as COMPLAINT_STATUSES, U as CONTROL_VARIANT_ID, V as CaptureSessionInfo, W as CaptureSettings, X as CaptureStep, Y as CaptureStepInput, Z as CaptureStepSchema, _ as CapturedElement, $ as CapturedElementSchema, a0 as ChecklistConfig, a1 as ChecklistConfigSchema, a2 as ChecklistProgressRequest, a3 as ChecklistProgressRequestSchema, a4 as ChecklistTask, a5 as ChecklistTaskSchema, a6 as ClickFacts, a7 as ComplaintEvent, a8 as ComplaintField, a9 as ComplaintFieldType, aa as ComplaintStatus, ab as ComplexSelector, ac as Compound, ad as ContrastIssue, ae as ConversationLookupResponse, af as ConversationLookupSchema, ag as ConversationMessagesResponse, ah as ConversationRatingSchema, ai as ConversationStatus, aj as DEFAULT_CAPTURE_SETTINGS, ak as DEFAULT_FEATURE_ATTRIBUTE, al as DEFAULT_LOCALE, am as DEFAULT_PLATFORMS, an as DetailException, ao as DetailFrame, ap as DetailMechanism, aq as EMBED_IFRAME_ATTRS, ar as ElementNode, as as ElementSnapshot, at as EmbedProvider, au as ErrorFilterPattern, av as ErrorLevelName, aw as ErrorTrackingSettings, ax as ErrorTrackingSettingsSchema, ay as ExceptionDetail, az as ExceptionProperties, aA as FEATURE_ATTRIBUTE_PATTERN, aB as FEATURE_RULE_LIMITS, aC as FEEDBACK_EVENTS, aD as FEEDBACK_PRIORITIES, aE as FEEDBACK_PRIORITY_LABEL, aF as FEEDBACK_PRIORITY_WEIGHT, aG as FEEDBACK_STATUSES, aH as FEEDBACK_STATUS_LABEL, aI as FILE_LINK_CLASS, aJ as FeatureRule, aK as FeedbackEvent, aL as FeedbackPriority, aM as FeedbackStatus, aN as FeedbackUpdate, aO as FeedbackUpdatesResponse, aP as FileComplaintResponse, aQ as FrequencyConfig, aR as FrequencySchema, aS as GUIDELY_ID_ATTRIBUTE, aT as GUIDE_EXPERIMENT_GOALS, aU as GUIDE_EXPERIMENT_GOAL_LABELS, aV as GUIDE_EXPERIMENT_STATUSES, aW as GUIDE_KINDS, aX as GUIDE_STATUSES, aY as GUIDE_VISIBILITIES, aZ as GuideConfig, a_ as GuideConfigSchema, a$ as GuideExperimentGoal, b0 as GuideExperimentGoalKind, b1 as GuideExperimentStatus, b2 as GuideExperimentVariant, b3 as GuideHoldout, b4 as GuideLocalization, b5 as GuideLocalizationSchema, b6 as GuideSchedule, b7 as GuideScheduleSchema, b8 as GuideStateUpdateSchema, b9 as GuideStatus, ba as GuideStep, bb as GuideStepInput, bc as GuideThrottlingSchema, bd as GuideThrottlingSettings, be as GuideVisibility, bf as HEATMAP_VIEWPORTS, bg as HOWTO_ACTIONS, bh as HOWTO_STEP_KINDS, bi as HeatmapPoint, bj as HeatmapProperties, bk as HeatmapViewport, bl as HowToAction, bm as HowToAnnotation, bn as HowToAnnotationSchema, bo as HowToStepKind, bp as IdentifyRequest, bq as IdentifyRequestSchema, br as IdentifyResponse, bs as LOCALE_PATTERN, bt as LOGGED_IN_AUDIENCE, bu as LocaleSchema, bv as LocalizationSettings, bw as LocalizationSettingsSchema, bx as MAX_ANNOTATIONS, by as MAX_APP_VERSION_LENGTH, bz as MAX_BREADCRUMBS, bA as MAX_BUG_REPORT_LENGTH, bB as MAX_BUG_REPORT_SCREENSHOT_BYTES, bC as MAX_COLLECTION_DEPTH, bD as MAX_COMPLAINT_ANSWER_LENGTH, bE as MAX_COMPLAINT_ATTACHMENT_BYTES, bF as MAX_COMPLAINT_CHOICES, bG as MAX_COMPLAINT_FIELDS, bH as MAX_COMPLAINT_LENGTH, bI as MAX_CUSTOM_CSS, bJ as MAX_DEBUG_IMAGES, bK as MAX_DETAIL_FRAMES, bL as MAX_DETAIL_THREADS, bM as MAX_ERROR_TAGS, bN as MAX_EXCEPTION_CHAIN, bO as MAX_EXCEPTION_DETAIL_BYTES, bP as MAX_EXCEPTION_DETAIL_RAW_BYTES, bQ as MAX_FEEDBACK_COMMENT, bR as MAX_FEEDBACK_DESCRIPTION, bS as MAX_FEEDBACK_NOTE, bT as MAX_FEEDBACK_TITLE, bU as MAX_MESSAGE_LENGTH, bV as MAX_PROPERTY_BYTES, bW as MAX_STACK_FRAMES, bX as MEDIA_FILE_MAX_BYTES, bY as MEDIA_FILE_TYPES, bZ as MEDIA_IMAGE_MAX_BYTES, b_ as MEDIA_IMAGE_TYPES, b$ as MEDIA_MAX_BYTES, c0 as MEDIA_VIDEO_MAX_BYTES, c1 as MEDIA_VIDEO_TYPES, c2 as MESSAGE_AUTHORS, c3 as MediaContentType, c4 as MediaKind, c5 as MessageAuthor, c6 as MessengerCitation, c7 as MessengerComplaint, c8 as MessengerComplaintCategory, c9 as MessengerComplaintOffer, ca as MessengerComplaintsConfig, cb as MessengerConfig, cc as MessengerConversation, cd as MessengerHomeCards, ce as MessengerHowToCitation, cf as MessengerIdeaOffer, cg as MessengerIdeasConfig, ch as MessengerMessage, ci as MessengerPageContent, cj as MessengerPageRequest, ck as MessengerPageRequestSchema, cl as MessengerPageSuggestion, cm as MessengerStatus, cn as MessengerSuggestedGuide, co as MessengerTeammate, cp as NETWORK_PLUGIN, cq as NOISY_DATA_ATTR, cr as NetworkPluginPayload, cs as NetworkRequest, ct as NetworkRequestType, cu as NormalizedPointSchema, cv as NormalizedRect, cw as NormalizedRectSchema, cx as PAGE_RULE_LIMITS, cy as PATH_ID_PATTERN, cz as PDF_BLOCK_CLASS, cA as PDF_MAX_PAGES, cB as PDF_PAGES_CLASS, cC as PLACEMENTS, cD as PLATFORMS, cE as PageContext, cF as PagePattern, cG as PageRule, cH as PerformanceSettings, cI as PerformanceSettingsSchema, cJ as Placement, cK as Platform, cL as PostMessageSchema, cM as ProjectTheme, cN as ProjectThemeSchema, cO as PublicFeedbackComment, cP as PublicFeedbackList, cQ as PublicFeedbackRequest, cR as PublicFeedbackRequestDetail, cS as PublishedGuide, cT as PublishedGuideSchema, cU as QueryParamCondition, cV as QueryParamOp, cW as RC_MODULE_IDS, cX as RC_MODULE_LABELS, cY as RECORDING_LEVELS, cZ as REPLAY_MAX_COMPRESSED_BYTES, c_ as REPLAY_MAX_RAW_BYTES, c$ as REPLY_TIMES, d0 as RULE_FIELDS, d1 as RULE_OPERATORS, d2 as RcArticleLike, d3 as RcCollectionLike, d4 as RcSection, d5 as RecordingLevel, d6 as ReplayChunk, d7 as ReplayChunkSchema, d8 as ReplaySettings, d9 as ReplaySettingsSchema, da as ReplyTime, db as ResourceCenterAnnouncement, dc as ResourceCenterArticle, dd as ResourceCenterCollection, de as ResourceCenterConfig, df as ResourceCenterModule, dg as ResourceCenterModuleId, dh as ResourceCenterTranslations, di as RuleField, dj as RuleOperator, dk as SCOUT_AGENT_ID, dl as SELECTOR_KINDS, dm as SENSITIVE_HEADER_PATTERN, dn as SENSITIVE_PARAM_PATTERN, dp as SENSITIVE_PROPERTY_PATTERN, dq as SERVER_ASSISTED_FIELDS, dr as SHOW_ME_CLASS, ds as SHOW_ME_HREF_PREFIX, dt as SNAPSHOT_ATTRS, du as SNAPSHOT_LIMITS, dv as SOURCEMAP_MAX_FILES_PER_UPLOAD, dw as SOURCEMAP_MAX_FILE_BYTES, dx as STATUS_LEVELS, dy as STEP_TYPES, dz 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, dO as StartConversationRequest, dP as StartConversationResponse, dQ as StartConversationSchema, dR as StatusLevel, dS as StepBranchSchema, dT as StepButton, dU as StepSchema, dV as StepTarget, dW as StepType, dX as SurveyAnswer, dY as SurveyAnswers, dZ as SurveyConfig, d_ as SurveyConfigSchema, d$ as SurveyQuestion, e0 as SurveyQuestionSchema, e1 as SurveyResponseRequest, e2 as SurveyResponseRequestSchema, e3 as TAG_PROPERTY_LIMITS, e4 as TRIGGER_TYPES, e5 as TagPropertyConfig, e6 as TagPropertyDefinition, e7 as TaggingSdkConfig, e8 as TargetSchema, e9 as TargetingContext, ea as TextEntry, eb as TextKind, ec as TranslationCoverage, ed as TranslationReviewMap, ee as TranslationReviewState, ef as TriggerConfig, eg as TriggerSchema, eh as VIDEO_ATTRS, ei as ValidationIssue, ej as VideoEmbed, ek as WCAG_AA_LARGE, el as WCAG_AA_TEXT, em as WS_MAX_MESSAGES_PER_SOCKET, en as WS_MAX_MESSAGE_BYTES, eo as WebSocketMessage, ep as applyGuideTranslations, eq as articleHref, er as articleIdFromHref, es as articleTextEntries, et as assignGuideVariant, eu as baseLanguage, ev as clamp, ew as cleanLabel, ex as compare, ey as compareVersions, ez as complaintReference, eA as compoundMatches, eB as contrastIssues, eC as contrastRatio, eD as cssSelectorError, eE as customFingerprint, eF as defaultGuideConfig, eG as defaultStep, eH as describeCaptureStep, eI as describeRule, eJ as emptyRuleGroup, eK as errorFilterDrops, eL as evaluateRule, eM as evaluateRules, eN as evenWeights, eO as experimentBucketRules, eP as experimentSalt, eQ as featureCssSelectors, eR as featureRuleError, eS as featureRuleMatchesClick, eT as feedbackReference, eU as fingerprintError, eV as firstNameFromTraits, eW as fnv1a, eX as foldPathIds, eY as getPath, eZ as guideLocales, e_ as guidePlatforms, e$ as guideTextEntries, f0 as guidelyIdFromSelector, f1 as hasVideoMedia, f2 as isAllowedEmbedSrc, f3 as isArticleListed, f4 as isChecklistComplete, f5 as isFileLink, f6 as isMediaContentType, f7 as isPlainObject, f8 as isQuestionVisible, f9 as isRuleGroup, fa as isSafeMediaUrl, fb as isVideoContentType, fc as isVideoFileUrl, fd as localeName, fe as localizeAnnouncement, ff as localizeArticle, fg as localizeGuide, fh as localizeResourceCenter, fi as matchCssSelector, fj as matchUrlPattern, fk as matchesAudiences, fl as matchesHelpQuery, fm as mediaKind, fn as mediaMaxBytes, fo as needsReview, fp as normalizeAppVersion, fq as normalizeErrorMessage, fr as normalizeFrameFile, fs as normalizeLocale, ft as normalizeSnapshot, fu as normalizeTags, fv as orderedModules, fw as pageLabel, fx as pageName, fy as pagePattern, fz 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 reactNativeBundleUrl, fK as readableTextOn, fL as recordingLevel, fM as relativeLuminance, fN as resolveCaptureSettings, fO as resolveLocale, fP as resourceCenterLocales, fQ as resourceCenterSections, fR as resourceCenterTextEntries, fS as rolloutBucket, fT as safeRegExp, fU as sanitizeCustomCss, fV as sanitizeProperties, fW as scopeCustomCss, fX as screenPath, fY as servedArticleAudiences, fZ as showMeHref, f_ as showMeKeyFromHref, f$ as showMeKeys, g0 as slugify, g1 as snapshotFromSelector, g2 as stableStringify, g3 as stepVideo, g4 as stripOrigin, g5 as supportsPlatform, g6 as toEmbedUrl, g7 as translationCoverage, g8 as trimExceptionDetail, g9 as unreadAnnouncements, ga as validateGuideConfig, gb as variantProblems, gc as variantRanges, gd as videoThumbnailUrl, ge as visibleAnnouncements, gf as visibleArticleIds, gg as visibleButtons, gh as visitorAudiences, gi as visitorLocales, gj as withExperimentBucket, gk as withRecordingLevel, gl as withVisibility } from './runtime-x-0GT7HM.js';
3
3
  import { z } from 'zod';
4
4
 
5
5
  declare const RuleSchema: z.ZodType<Rule>;
@@ -19,6 +19,7 @@ declare const SdkEventSchema: z.ZodObject<{
19
19
  custom: "custom";
20
20
  click: "click";
21
21
  guide_completed: "guide_completed";
22
+ exception: "exception";
22
23
  guide_viewed: "guide_viewed";
23
24
  guide_started: "guide_started";
24
25
  step_viewed: "step_viewed";
@@ -43,7 +44,6 @@ declare const SdkEventSchema: z.ZodObject<{
43
44
  identify: "identify";
44
45
  page_leave: "page_leave";
45
46
  rage_click: "rage_click";
46
- exception: "exception";
47
47
  heatmap: "heatmap";
48
48
  experiment_viewed: "experiment_viewed";
49
49
  app_install: "app_install";
@@ -62,7 +62,9 @@ declare const SdkEventSchema: z.ZodObject<{
62
62
  stepId: z.ZodOptional<z.ZodString>;
63
63
  stepIndex: z.ZodOptional<z.ZodNumber>;
64
64
  url: z.ZodOptional<z.ZodString>;
65
+ appVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
65
66
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
67
+ detail: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>, unknown>;
66
68
  }, z.core.$strip>;
67
69
  type SdkEvent = z.infer<typeof SdkEventSchema>;
68
70
  declare const EventBatchSchema: z.ZodObject<{
@@ -72,6 +74,7 @@ declare const EventBatchSchema: z.ZodObject<{
72
74
  custom: "custom";
73
75
  click: "click";
74
76
  guide_completed: "guide_completed";
77
+ exception: "exception";
75
78
  guide_viewed: "guide_viewed";
76
79
  guide_started: "guide_started";
77
80
  step_viewed: "step_viewed";
@@ -96,7 +99,6 @@ declare const EventBatchSchema: z.ZodObject<{
96
99
  identify: "identify";
97
100
  page_leave: "page_leave";
98
101
  rage_click: "rage_click";
99
- exception: "exception";
100
102
  heatmap: "heatmap";
101
103
  experiment_viewed: "experiment_viewed";
102
104
  app_install: "app_install";
@@ -115,7 +117,9 @@ declare const EventBatchSchema: z.ZodObject<{
115
117
  stepId: z.ZodOptional<z.ZodString>;
116
118
  stepIndex: z.ZodOptional<z.ZodNumber>;
117
119
  url: z.ZodOptional<z.ZodString>;
120
+ appVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
118
121
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
122
+ detail: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>, unknown>;
119
123
  }, z.core.$strip>>;
120
124
  sentAt: z.ZodOptional<z.ZodString>;
121
125
  sdk: z.ZodOptional<z.ZodObject<{
@@ -141,6 +145,33 @@ declare const FileComplaintSchema: z.ZodObject<{
141
145
  }, z.core.$strip>;
142
146
  type FileComplaintRequest = z.infer<typeof FileComplaintSchema>;
143
147
 
148
+ /** Body of `POST /v1/sdk/bug-reports` (Guidely's own SDKs; Sentry SDKs use the envelope endpoint). */
149
+ declare const BugReportSchema: z.ZodObject<{
150
+ anonymousId: z.ZodString;
151
+ userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
152
+ sessionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
153
+ message: z.ZodString;
154
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
155
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
156
+ associatedEventId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
157
+ url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
158
+ appVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
159
+ source: z.ZodDefault<z.ZodEnum<{
160
+ widget: "widget";
161
+ api: "api";
162
+ }>>;
163
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
164
+ sdk: z.ZodOptional<z.ZodObject<{
165
+ name: z.ZodString;
166
+ version: z.ZodString;
167
+ }, z.core.$strip>>;
168
+ screenshot: z.ZodNullable<z.ZodOptional<z.ZodObject<{
169
+ fileName: z.ZodString;
170
+ data: z.ZodString;
171
+ }, z.core.$strip>>>;
172
+ }, z.core.$strip>;
173
+ type BugReportRequest = z.infer<typeof BugReportSchema>;
174
+
144
175
  /** A tool call: name, status and latency only. Anything else (arguments, results) is dropped, never stored. */
145
176
  declare const AgentToolCallSchema: z.ZodObject<{
146
177
  name: z.ZodString;
@@ -278,11 +309,7 @@ declare const AgentEventsRequestSchema: z.ZodPreprocess<z.ZodObject<{
278
309
  sessionId: z.ZodPipe<z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
279
310
  metadata: z.ZodDefault<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, string | number | boolean | null>, Record<string, unknown>>>>;
280
311
  }, z.core.$strip>>;
281
- environment: z.ZodDefault<z.ZodEnum<{
282
- development: "development";
283
- staging: "staging";
284
- production: "production";
285
- }>>;
312
+ environment: z.ZodDefault<z.ZodString>;
286
313
  sdk: z.ZodOptional<z.ZodObject<{
287
314
  name: z.ZodString;
288
315
  version: z.ZodString;
@@ -536,7 +563,7 @@ declare function templateConfig(id: string): {
536
563
  * which the SDK upgrades in place to forward to the real client. Flag reads return their fallback
537
564
  * until then. ES5 only: it runs on the customer's page before anything else.
538
565
  */
539
- declare const SCRIPT_STUB_METHODS: readonly ["identify", "track", "page", "reset", "setAccount", "updateTraits", "setConsent", "setLocale", "startGuide", "stopGuide", "dismissGuide", "openMessenger", "closeMessenger", "showNewMessage", "openResourceCenter", "closeResourceCenter", "openChecklist", "closeChecklist", "completeChecklistTask", "openComplaint", "openIdeas", "captureException", "agentConversation", "trackAgentTurn", "on"];
566
+ declare const SCRIPT_STUB_METHODS: readonly ["identify", "track", "page", "reset", "setAccount", "updateTraits", "setConsent", "setLocale", "startGuide", "stopGuide", "dismissGuide", "openMessenger", "closeMessenger", "showNewMessage", "openResourceCenter", "closeResourceCenter", "openChecklist", "closeChecklist", "completeChecklistTask", "openComplaint", "openIdeas", "captureException", "captureFeedback", "showBugReport", "captureMessage", "addBreadcrumb", "setTag", "setTags", "setExtra", "setExtras", "setContext", "setUser", "agentConversation", "trackAgentTurn", "on"];
540
567
  declare const SCRIPT_STUB: string;
541
568
  /** The full script-tag install: stub, init (queued until the SDK loads), then the async SDK script. */
542
569
  declare function scriptSnippet(scriptUrl: string, initOptions: string): string;
@@ -573,6 +600,6 @@ declare function parseCsvRows(text: string): string[][];
573
600
  declare function parseTranslationCsv(text: string): ParsedTranslations;
574
601
 
575
602
  declare const SDK_API_VERSION = "v1";
576
- declare const SHARED_VERSION = "0.16.0";
603
+ declare const SHARED_VERSION = "0.17.0";
577
604
 
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 };
605
+ export { APP_LIFECYCLE_EVENTS, AUTOCAPTURE_EVENTS, type AgentEventsRequest, AgentEventsRequestSchema, AgentMetadataSchema, AgentToolCallSchema, type AgentTurn, AgentTurnInputSchema, type BugReportRequest, BugReportSchema, 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 };