pika-shared 1.4.2 → 1.4.3

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.
@@ -148,6 +148,15 @@ interface ChatSession<T extends RecordOrUndef = undefined> {
148
148
  shareRevokedDate?: string;
149
149
  /** If set to 'mock', this session is used for integration testing purposes. */
150
150
  testType?: 'mock';
151
+ /**
152
+ * The source of the converse request. Defaults to 'user'. The composite key chat_app_sk looks like this:
153
+ *
154
+ * ${chatAppId}#${source}#${updateDate}
155
+ *
156
+ * The source in the composite key here will only ever be either `user` or `component`. If this attribute's value is missing or is `user` or `component-as-user`,
157
+ * then the composite key will be set to `user` so when we query on behalf of the user, we will get all sessions for that user.
158
+ */
159
+ source: ConverseSource;
151
160
  }
152
161
  /**
153
162
  * Convenience type for updating a session with the last analyzed message id and insights s3 url.
@@ -672,6 +681,7 @@ interface InstructionAssistanceConfig {
672
681
  }
673
682
  interface TagsChatAppOverridableFeature {
674
683
  tagsEnabled: TagDefinitionLite[];
684
+ tagsDisabled: TagDefinitionLite[];
675
685
  }
676
686
  type ChatAppOverridableFeaturesForConverseFn = Omit<ChatAppOverridableFeatures, 'chatDisclaimerNotice' | 'traces' | 'logout' | 'suggestions' | 'promptInputFieldLabel' | 'uiCustomization' | 'fileUpload'>;
677
687
  /**
@@ -799,7 +809,22 @@ interface ConverseRequest extends BaseRequestData {
799
809
  * When invocationMode is 'chat-app-component', then this is the requiredconfiguration for the chat app component invocation.
800
810
  */
801
811
  chatAppComponentConfig?: ChatAppComponentConfig;
812
+ /**
813
+ * The source of the converse request. Defaults to 'user'. The composite key chat_app_sk looks like this:
814
+ *
815
+ * ${chatAppId}#${source}#${updateDate}
816
+ *
817
+ * The source in the composite key here will only ever be either `user` or `component`. If this attribute's value is missing or is `user` or `component-as-user`,
818
+ * then the composite key will be set to `user` so when we query on behalf of the user, we will get all sessions for that user.
819
+ *
820
+ * If 'user', then the converse request is coming from the user.
821
+ * If 'component-as-user', then the converse request is coming from a component acting as a user and thus sessions should show up in the user's sessions list.
822
+ * If 'component', then the converse request is coming from a component.
823
+ */
824
+ source: ConverseSource;
802
825
  }
826
+ declare const ConverseSource: readonly ["user", "component-as-user", "component"];
827
+ type ConverseSource = (typeof ConverseSource)[number];
803
828
  /**
804
829
  * This is the configuration for a chat app component invocation to the converse lambda function.
805
830
  */
@@ -1203,7 +1228,11 @@ type AgentDefinitionForCreate = Omit<AgentDefinition, 'version' | 'createdAt' |
1203
1228
  *
1204
1229
  * If you use this you must provide an agentId so we can match up what's there already with what is being provided.
1205
1230
  * If you provide tools then you must provide a toolId for each tool so we can match up what's there already with what is being provided.
1206
- * You may either provide agent.toolIds or tools but not both.
1231
+ *
1232
+ * Three patterns are supported:
1233
+ * 1. tools only: Define new tools (create/update)
1234
+ * 2. agent.toolIds only: Reference existing tools by ID
1235
+ * 3. Both tools AND agent.toolIds: Mixed approach - define new tools while referencing existing ones
1207
1236
  */
1208
1237
  interface AgentDataRequest {
1209
1238
  /**
@@ -3075,10 +3104,9 @@ interface TagsSiteFeature {
3075
3104
  */
3076
3105
  tagsEnabled?: TagDefinitionLite[];
3077
3106
  /**
3078
- * The tag definitions that are prohibited by default. If not provided, then no tag definitions are prohibited.
3079
- * Chat apps may not override this list.
3107
+ * Global tags are enabled by default. Turn them off here if you don't want them.
3080
3108
  */
3081
- tagsProhibited?: TagDefinitionLite[];
3109
+ tagsDisabled?: TagDefinitionLite[];
3082
3110
  }
3083
3111
  /**
3084
3112
  * Configure whether the session insights feature is enabled. When turned on, Pika will
@@ -3118,10 +3146,17 @@ interface SessionInsightsOpenSearchConfig {
3118
3146
  interface TagsFeatureForChatApp extends Feature {
3119
3147
  featureId: 'tags';
3120
3148
  /**
3121
- * The tag definitions that are enabled by default. If not provided, then no tag definitions are enabled.
3122
- * Each chat app can override this list by providing its own list of tagsEnabled in its chat app config.
3149
+ * The tag definitions that are explicitly enabled for this chat app.
3150
+ * These are chat-app specific tags (usageMode='chat-app') that must be explicitly enabled.
3151
+ * Global tags (usageMode='global') are automatically included unless listed in tagsDisabled.
3123
3152
  */
3124
3153
  tagsEnabled?: TagDefinitionLite[];
3154
+ /**
3155
+ * Global tag definitions that should be disabled for this chat app.
3156
+ * Only applies to global tags (usageMode='global').
3157
+ * Use this to exclude specific global tags that you don't want available.
3158
+ */
3159
+ tagsDisabled?: TagDefinitionLite[];
3125
3160
  }
3126
3161
  interface SessionInsightsFeatureForChatApp extends Feature {
3127
3162
  featureId: 'sessionInsights';
@@ -3368,13 +3403,45 @@ interface DialogContextConfig {
3368
3403
  interface CanvasContextConfig {
3369
3404
  enabled: boolean;
3370
3405
  }
3371
- declare const WIDGET_RENDERING_CONTEXT_TYPES: readonly ["spotlight", "inline", "dialog", "canvas"];
3406
+ /**
3407
+ * Tag definition for widgets that have static context enabled.
3408
+ * Static widgets can run initialization code (like registering title bar actions)
3409
+ * when the chat app loads. They can also have other rendering contexts for visual UI.
3410
+ */
3411
+ type StaticWidgetTagDefinition = TagDefinition<TagDefinitionWidgetWebComponent> & {
3412
+ renderingContexts: {
3413
+ static: StaticContextConfig;
3414
+ spotlight?: SpotlightContextConfig;
3415
+ inline?: InlineContextConfig;
3416
+ dialog?: DialogContextConfig;
3417
+ canvas?: CanvasContextConfig;
3418
+ };
3419
+ };
3420
+ /**
3421
+ * The static context is used to render a static component that doesn't render visually but is used to run code that needs to be run once.
3422
+ * For example, you might want to run a code snippet that puts an icon in the title bar of the chat app.
3423
+ */
3424
+ interface StaticContextConfig {
3425
+ enabled: boolean;
3426
+ /**
3427
+ * If provided, the static context container will be removed from the DOM after this many milliseconds.
3428
+ * If not provided, the container stays in the DOM (hidden) indefinitely.
3429
+ *
3430
+ * Use this when the static component only needs to run initialization code and doesn't need to
3431
+ * persist in the DOM afterwards.
3432
+ *
3433
+ * Example: 1000 (remove after 1 second)
3434
+ */
3435
+ shutDownAfterMs?: number;
3436
+ }
3437
+ declare const WIDGET_RENDERING_CONTEXT_TYPES: readonly ["spotlight", "inline", "dialog", "canvas", "static"];
3372
3438
  type WidgetRenderingContextType = (typeof WIDGET_RENDERING_CONTEXT_TYPES)[number];
3373
3439
  interface WidgetRenderingContexts {
3374
3440
  spotlight?: SpotlightContextConfig;
3375
3441
  inline?: InlineContextConfig;
3376
3442
  dialog?: DialogContextConfig;
3377
3443
  canvas?: CanvasContextConfig;
3444
+ static?: StaticContextConfig;
3378
3445
  }
3379
3446
  interface TagDefinition<T extends TagDefinitionWidget> {
3380
3447
  /**
@@ -3444,11 +3511,14 @@ interface TagDefinition<T extends TagDefinitionWidget> {
3444
3511
  /** You must be explicit about whether this tag is a widget or not and if so what kind. */
3445
3512
  widget: T;
3446
3513
  /**
3447
- * The chat app ID this tag is associated with.
3448
- * Use the special value 'chat-app-global' for tags available to all chat apps.
3449
- * REQUIRED: Every tag must be associated with either a specific chat app or be global.
3514
+ * Determines how this tag can be used across chat apps.
3515
+ * - 'global': Tag is available to all chat apps by default (unless explicitly disabled)
3516
+ * - 'chat-app': Tag must be explicitly enabled in a chat app's configuration to be available
3517
+ *
3518
+ * REQUIRED: Must be explicitly set.
3519
+ * Built-in Pika tags (scope='pika') are typically 'global', while custom tags are typically 'chat-app'.
3450
3520
  */
3451
- chatAppId: string;
3521
+ usageMode: TagDefinitionUsageMode;
3452
3522
  /**
3453
3523
  * The status of this tag definition.
3454
3524
  * - 'enabled': Tag is active and available for use
@@ -3593,10 +3663,15 @@ type TagDefinitionWidgetForCreateOrUpdate = TagDefinitionWidgetPassThrough | Tag
3593
3663
  * Tag definition for create/update operations.
3594
3664
  * Omits backend-managed fields and uses TagDefinitionWidgetForCreateOrUpdate which excludes
3595
3665
  * backend-managed fields from nested structures (like s3Bucket in web components).
3666
+ *
3667
+ * The usageMode field is optional and defaults to 'chat-app' if not provided.
3596
3668
  */
3597
- type TagDefinitionForCreateOrUpdate<T extends TagDefinitionWidgetForCreateOrUpdate = TagDefinitionWidgetForCreateOrUpdate> = Omit<TagDefinition<TagDefinitionWidget>, 'createdBy' | 'lastUpdatedBy' | 'createDate' | 'lastUpdate' | 'widget'> & {
3669
+ type TagDefinitionForCreateOrUpdate<T extends TagDefinitionWidgetForCreateOrUpdate = TagDefinitionWidgetForCreateOrUpdate> = Omit<TagDefinition<TagDefinitionWidget>, 'createdBy' | 'lastUpdatedBy' | 'createDate' | 'lastUpdate' | 'widget' | 'usageMode'> & {
3598
3670
  widget: T;
3671
+ usageMode?: TagDefinitionUsageMode;
3599
3672
  };
3673
+ declare const TAG_DEFINITION_USAGE_MODES: readonly ["global", "chat-app"];
3674
+ type TagDefinitionUsageMode = (typeof TAG_DEFINITION_USAGE_MODES)[number];
3600
3675
  declare const TAG_DEFINITION_WIDGET_TYPES: readonly ["pass-through", "pika-compiled-in", "custom-compiled-in", "web-component"];
3601
3676
  /**
3602
3677
  * Pika compiled-in components are those defined as part of the compiled svelte front end code in `apps/pika-chat/src/lib/client/features/chat/message-segments/default-components/index.ts`.
@@ -3630,6 +3705,84 @@ interface TagDefinitionWidgetBase {
3630
3705
  }
3631
3706
  type TagDefinitionWidget = TagDefinitionWidgetPassThrough | TagDefinitionWidgetPikaCompiledIn | TagDefinitionWidgetCustomCompiledIn | TagDefinitionWidgetWebComponent;
3632
3707
  type TagWebComponentEncoding = 'gzip';
3708
+ /**
3709
+ * Preset dialog size options for web component widgets.
3710
+ * - 'fullscreen': 95vw x 90vh (default)
3711
+ * - 'large': 85vw x 80vh
3712
+ * - 'medium': 70vw x 70vh
3713
+ * - 'small': 50vw x 50vh
3714
+ */
3715
+ type WidgetDialogSizePreset = 'fullscreen' | 'large' | 'medium' | 'small';
3716
+ /**
3717
+ * Custom dimensions for dialog sizing.
3718
+ * Values must be viewport-relative units (vh, vw, vmin, vmax) or percentages.
3719
+ * Pixel values are not supported to ensure responsive behavior.
3720
+ *
3721
+ * Examples:
3722
+ * - { width: "80vw", height: "70vh" }
3723
+ * - { width: "90%", height: "85%" }
3724
+ */
3725
+ interface WidgetDialogSizeCustom {
3726
+ /**
3727
+ * Dialog width as viewport-relative unit or percentage.
3728
+ * Examples: "80vw", "90%", "85vw"
3729
+ */
3730
+ width?: string;
3731
+ /**
3732
+ * Dialog height as viewport-relative unit or percentage.
3733
+ * Examples: "70vh", "80%", "60vh"
3734
+ */
3735
+ height?: string;
3736
+ }
3737
+ /**
3738
+ * Sizing configuration for dialog rendering context.
3739
+ * Can be either a preset size or custom dimensions.
3740
+ */
3741
+ type WidgetDialogSizing = WidgetDialogSizePreset | WidgetDialogSizeCustom;
3742
+ /**
3743
+ * Sizing configuration for inline rendering context.
3744
+ * Inline widgets appear within the chat message flow.
3745
+ */
3746
+ interface WidgetInlineSizing {
3747
+ /**
3748
+ * Widget height for inline rendering.
3749
+ * Supports any valid CSS height value, or "auto" to grow to content height.
3750
+ * Defaults to "400px" if not specified.
3751
+ *
3752
+ * Special values:
3753
+ * - "auto": Widget grows to fit its content height (no fixed height constraint)
3754
+ *
3755
+ * Fixed height examples: "400px", "50vh", "500px", "30rem"
3756
+ */
3757
+ height?: string;
3758
+ /**
3759
+ * Widget width for inline rendering.
3760
+ * Reserved for future use. Currently, inline widgets always fill available width.
3761
+ *
3762
+ * Examples: "100%", "80vw", "600px"
3763
+ */
3764
+ width?: string;
3765
+ }
3766
+ /**
3767
+ * Sizing configuration for web component widgets across different rendering contexts.
3768
+ * Allows widget authors to control how their widget is sized in different visual contexts.
3769
+ */
3770
+ interface WidgetSizing {
3771
+ /**
3772
+ * Sizing for dialog (modal) rendering context.
3773
+ * When a widget is opened in a dialog, this controls its dimensions.
3774
+ *
3775
+ * Defaults to 'fullscreen' (95vw x 90vh) if not specified.
3776
+ */
3777
+ dialog?: WidgetDialogSizing;
3778
+ /**
3779
+ * Sizing for inline rendering context.
3780
+ * When a widget is rendered inline within a chat message.
3781
+ *
3782
+ * Defaults to { height: "400px" } if not specified.
3783
+ */
3784
+ inline?: WidgetInlineSizing;
3785
+ }
3633
3786
  interface TagDefinitionWebComponent {
3634
3787
  /**
3635
3788
  * Direct URL to the web component JavaScript file.
@@ -3666,6 +3819,26 @@ interface TagDefinitionWebComponent {
3666
3819
  * - "my-widget" for a file that calls customElements.define("my-widget", ...)
3667
3820
  */
3668
3821
  customElementName?: string;
3822
+ /**
3823
+ * Optional sizing configuration for this widget across different rendering contexts.
3824
+ *
3825
+ * If not provided, defaults are:
3826
+ * - dialog: 'fullscreen' (95vw x 90vh)
3827
+ * - inline: { height: "400px" }
3828
+ *
3829
+ * Examples:
3830
+ * ```typescript
3831
+ * // Preset dialog size
3832
+ * sizing: { dialog: 'medium', inline: { height: '300px' } }
3833
+ *
3834
+ * // Custom dialog size
3835
+ * sizing: { dialog: { width: '80vw', height: '60vh' } }
3836
+ *
3837
+ * // Only specify inline height
3838
+ * sizing: { inline: { height: '500px' } }
3839
+ * ```
3840
+ */
3841
+ sizing?: WidgetSizing;
3669
3842
  encoding: TagWebComponentEncoding;
3670
3843
  mediaType: 'application/javascript';
3671
3844
  encodedSizeBytes: number;
@@ -3693,25 +3866,26 @@ interface TagDefinitionCreateOrUpdateResponse {
3693
3866
  /**
3694
3867
  * Search for tag definitions with two primary modes:
3695
3868
  *
3696
- * MODE 1 - Get all tags for a chat app (including global):
3697
- * - Pass chatAppId
3698
- * - System automatically queries BOTH the specified chatAppId AND 'chat-app-global'
3699
- * - Uses GSI (chatAppId-status-index) for efficient retrieval
3700
- * - Returns all enabled tags for the chat app + all global tags
3869
+ * MODE 1 - Get specific tags (optionally including globals):
3870
+ * - Pass tagsDesired array for specific tags to retrieve
3871
+ * - Set includeGlobal=true to also include all global tags
3872
+ * - Uses primary key lookup (scope + tag) for specified tags
3873
+ * - Uses GSI (scope-status-index) for global tags if includeGlobal=true
3874
+ * - Returns requested tags + global tags (if includeGlobal=true)
3701
3875
  *
3702
- * MODE 2 - Get specific tags by scope/tag:
3703
- * - Pass tagsDesired array
3704
- * - Returns only the requested tags (if they exist and user has access)
3705
- * - Uses primary key lookup (scope + tag)
3876
+ * MODE 2 - Get all tags:
3877
+ * - Don't pass tagsDesired or includeGlobal
3878
+ * - Scans entire table with pagination
3879
+ * - Returns all tag definitions
3706
3880
  *
3707
3881
  * If used in admin context, returns all tag definitions (including disabled/retired).
3708
3882
  * If used in chat app context, filters to only 'enabled' status.
3709
3883
  */
3710
3884
  interface TagDefinitionSearchRequest {
3711
- /** Specific tags to retrieve (MODE 2) */
3885
+ /** Specific tags to retrieve by scope+tag */
3712
3886
  tagsDesired?: TagDefinitionLite[];
3713
- /** Chat app ID to filter tags for (MODE 1) - system automatically includes global tags */
3714
- chatAppId?: string;
3887
+ /** If true, also includes all global tags (usageMode='global') in addition to tagsDesired */
3888
+ includeGlobal?: boolean;
3715
3889
  /** If not true, instructions will not be returned to save space */
3716
3890
  includeInstructions?: boolean;
3717
3891
  /** Pagination token for continued queries */
@@ -3895,6 +4069,15 @@ interface InvokeAgentAsComponentOptions {
3895
4069
  * Request timeout in milliseconds (default: 60000)
3896
4070
  */
3897
4071
  timeout?: number;
4072
+ /**
4073
+ * The source of the converse request. Defaults to 'user'. The composite key chat_app_sk looks like this:
4074
+ *
4075
+ * ${chatAppId}#${source}#${updateDate}
4076
+ *
4077
+ * The source in the composite key here will only ever be either `user` or `component`. If this attribute's value is missing or is `user` or `component-as-user`,
4078
+ * then the composite key will be set to `user` so when we query on behalf of the user, we will get all sessions for that user.
4079
+ */
4080
+ source: ConverseSource;
3898
4081
  }
3899
4082
  /**
3900
4083
  * Action button that appears in the widget's chrome (title bar, toolbar, etc.)
@@ -3923,6 +4106,79 @@ interface WidgetAction {
3923
4106
  /** Handler when clicked */
3924
4107
  callback: () => void | Promise<void>;
3925
4108
  }
4109
+ /**
4110
+ * A single action button that will appear at the top of the chat app in the title bar or
4111
+ * that will appear in a button menu that pops up when the user clicks the title bar action button.
4112
+ *
4113
+ * @example
4114
+ * ```js
4115
+ * const action: ChatAppAction = {
4116
+ * id: 'refresh',
4117
+ * title: 'Refresh',
4118
+ * iconSvg: '<svg>...</svg>',
4119
+ * callback: () => refresh()
4120
+ * };
4121
+ * ```
4122
+ */
4123
+ interface ChatAppAction {
4124
+ /** Unique identifier for this action */
4125
+ id: string;
4126
+ /** Discriminator for the type */
4127
+ type: 'action';
4128
+ /** Tooltip or menu item description for the action */
4129
+ title: string;
4130
+ /** SVG markup string for the icon (e.g., from extractIconSvg() helper) */
4131
+ iconSvg: string;
4132
+ /** Whether action is currently disabled */
4133
+ disabled?: boolean;
4134
+ /** Handler when clicked */
4135
+ callback: () => void | Promise<void>;
4136
+ }
4137
+ /**
4138
+ * The only reason to use this is to get a title for the action group.
4139
+ */
4140
+ interface ChatAppActionGroup {
4141
+ /** Discriminator for the type */
4142
+ type: 'group';
4143
+ /** Title of the action group. The whole point of an action group is to get a title above the group. */
4144
+ title: string;
4145
+ /** Actions to display in the group */
4146
+ actions: (ChatAppAction | 'separator')[];
4147
+ }
4148
+ /**
4149
+ * The elements that can be displayed in a ChatAppActionMenu.
4150
+ */
4151
+ type ChatAppActionMenuElements = ChatAppActionGroup | ChatAppAction | 'separator';
4152
+ /**
4153
+ * Widgets can register a single icon button or icon button with a menu that will appear at the top of the chat app in the title bar.
4154
+ */
4155
+ interface ChatAppActionMenu {
4156
+ /** Unique identifier for this action */
4157
+ id: string;
4158
+ /** Tooltip/label for the action (also button text in dialog context) */
4159
+ title: string;
4160
+ /** SVG markup string for the icon (e.g., from extractIconSvg() helper) */
4161
+ iconSvg: string;
4162
+ /** Whether the action menu is currently disabled */
4163
+ disabled?: boolean;
4164
+ /**
4165
+ * Actions to display in the menu
4166
+ * Here are some common examples:
4167
+ * - [
4168
+ * { type: 'action', id: 'refresh', title: 'Refresh', iconSvg: '<svg>...</svg>', callback: () => refresh() },
4169
+ * 'separator',
4170
+ * { id: 'settings', title: 'Settings', iconSvg: '<svg>...</svg>', callback: () => showSettings() }
4171
+ * ]
4172
+ * - [
4173
+ * { type: 'group', title: 'Settings', actions: [
4174
+ * { type: 'action', id: 'refresh', title: 'Refresh', iconSvg: '<svg>...</svg>', callback: () => refresh() },
4175
+ * 'separator',
4176
+ * { type: 'action', id: 'settings', title: 'Settings', iconSvg: '<svg>...</svg>', callback: () => showSettings() }
4177
+ * ] }
4178
+ * ]
4179
+ */
4180
+ actions: ChatAppActionMenuElements[];
4181
+ }
3926
4182
  /**
3927
4183
  * Metadata that widgets register with the parent app
3928
4184
  *
@@ -3976,4 +4232,4 @@ interface IUserWidgetDataStoreState {
3976
4232
  deleteValue(key: string): Promise<void>;
3977
4233
  }
3978
4234
 
3979
- export { type AccessRule, type AccessRules, Accurate, AccurateWithStatedAssumptions, AccurateWithUnstatedAssumptions, type AddChatSessionFeedbackAdminRequest, type AddChatSessionFeedbackRequest, type AddChatSessionFeedbackResponse, type AgentAndTools, type AgentDataRequest, type AgentDataResponse, type AgentDefinition, type AgentDefinitionForCreate, type AgentDefinitionForIdempotentCreateOrUpdate, type AgentDefinitionForUpdate, type AgentFramework, type AgentInstructionAssistanceFeature, type AgentInstructionAssistanceFeatureForChatApp, type AgentInstructionChatAppOverridableFeature, type ApplyRulesAs, type AssistantMessageContent, type AssistantRationaleContent, type Attachment, type AuthenticateResult, type AuthenticatedUser, type BaseRequestData, type BaseStackConfig, type CanvasContextConfig, type ChatApp, type ChatAppComponentConfig, type ChatAppDataRequest, type ChatAppDataResponse, type ChatAppFeature, type ChatAppForCreate, type ChatAppForIdempotentCreateOrUpdate, type ChatAppForUpdate, type ChatAppLite, type ChatAppMode, type ChatAppOverridableFeatures, type ChatAppOverridableFeaturesForConverseFn, type ChatAppOverride, type ChatAppOverrideDdb, type ChatAppOverrideForCreateOrUpdate, type ChatDisclaimerNoticeFeature, type ChatDisclaimerNoticeFeatureForChatApp, type ChatMessage, type ChatMessageFile, type ChatMessageFileBase, ChatMessageFileLocationType, type ChatMessageFileS3, ChatMessageFileUseCase, type ChatMessageForCreate, type ChatMessageForRendering, type ChatMessageResponse, type ChatMessageUsage, type ChatMessagesResponse, type ChatSession, type ChatSessionFeedback, type ChatSessionFeedbackForCreate, type ChatSessionFeedbackForUpdate, type ChatSessionForCreate, type ChatSessionLiteForUpdate, type ChatSessionResponse, type ChatSessionsResponse, type ChatTitleUpdateRequest, type ChatUser, type ChatUserAddOrUpdateResponse, type ChatUserFeature, type ChatUserFeatureBase, type ChatUserLite, type ChatUserResponse, type ChatUserSearchResponse, type ClearConverseLambdaCacheRequest, type ClearConverseLambdaCacheResponse, type ClearConverseLambdaCacheType, ClearConverseLambdaCacheTypes, type ClearSvelteKitCacheType, ClearSvelteKitCacheTypes, type ClearSvelteKitCachesRequest, type ClearSvelteKitCachesResponse, type ClearUserOverrideDataRequest, type ClearUserOverrideDataResponse, type CompanyType, type ComponentTagDefinition, ContentAdminCommand, type ContentAdminCommandRequestBase, type ContentAdminCommandResponseBase, type ContentAdminData, type ContentAdminRequest, type ContentAdminResponse, type ContentAdminSiteFeature, type ConverseInvocationMode, ConverseInvocationModes, type ConverseRequest, type ConverseRequestWithCommand, type CreateAgentRequest, type CreateChatAppRequest, type CreateOrUpdateChatAppOverrideRequest, type CreateOrUpdateChatAppOverrideResponse, type CreateOrUpdateMockAgentRequest, type CreateOrUpdateMockAgentResponse, type CreateOrUpdateMockChatAppRequest, type CreateOrUpdateMockChatAppResponse, type CreateOrUpdateMockSessionRequest, type CreateOrUpdateMockSessionResponse, type CreateOrUpdateMockToolRequest, type CreateOrUpdateMockToolResponse, type CreateOrUpdateMockUserRequest, type CreateOrUpdateMockUserResponse, type CreateOrUpdateTagDefinitionAdminRequest, type CreateSharedSessionRequest, type CreateSharedSessionResponse, type CreateToolRequest, type CustomDataUiRepresentation, DEFAULT_EVENT_EXPIRY_DURATION, DEFAULT_MAX_K_MATCHES_PER_STRATEGY, DEFAULT_MAX_MEMORY_RECORDS_PER_PROMPT, DEFAULT_MEMORY_STRATEGIES, type DeleteAllMockAgentsRequest, type DeleteAllMockAgentsResponse, type DeleteAllMockChatAppsRequest, type DeleteAllMockChatAppsResponse, type DeleteAllMockDataRequest, type DeleteAllMockDataResponse, type DeleteAllMockPinnedSessionsRequest, type DeleteAllMockPinnedSessionsResponse, type DeleteAllMockSessionsRequest, type DeleteAllMockSessionsResponse, type DeleteAllMockSharedSessionVisitsRequest, type DeleteAllMockSharedSessionVisitsResponse, type DeleteAllMockToolsRequest, type DeleteAllMockToolsResponse, type DeleteAllMockUsersRequest, type DeleteAllMockUsersResponse, type DeleteChatAppOverrideRequest, type DeleteChatAppOverrideResponse, type DeleteMockAgentRequest, type DeleteMockAgentResponse, type DeleteMockChatAppRequest, type DeleteMockChatAppResponse, type DeleteMockDataRequest, type DeleteMockDataResponse, type DeleteMockSessionRequest, type DeleteMockSessionResponse, type DeleteMockToolRequest, type DeleteMockToolResponse, type DeleteMockUserRequest, type DeleteMockUserResponse, type DeleteTagDefinitionAdminRequest, type DeleteUserWidgetDataRequest, type DeleteUserWidgetDataResponse, type DialogContextConfig, EndToEndFeatureIdList, type EndToEndFeatureIdType, type EntityFeatureForChatApp, type EntitySiteFeature, type ExecutionType, FEATURE_NAMES, FEEDBACK_INTERNAL_COMMENT_STATUS, FEEDBACK_INTERNAL_COMMENT_STATUS_VALUES, FEEDBACK_INTERNAL_COMMENT_TYPE, FEEDBACK_INTERNAL_COMMENT_TYPE_VALUES, type Feature, type FeatureError, FeatureIdList, type FeatureIdType, type FeatureType, FeatureTypeArr, type FeedbackInternalComment, type FeedbackInternalCommentStatus, type FeedbackInternalCommentType, type FileUploadFeature, type FileUploadFeatureForChatApp, type GetAgentRequest, type GetAgentResponse, type GetAllAgentsAdminRequest, type GetAllAgentsAdminResponse, type GetAllChatAppsAdminRequest, type GetAllChatAppsAdminResponse, type GetAllMemoryRecordsAdminRequest, type GetAllMemoryRecordsAdminResponse, type GetAllMockAgentsRequest, type GetAllMockAgentsResponse, type GetAllMockChatAppsRequest, type GetAllMockChatAppsResponse, type GetAllMockDataRequest, type GetAllMockDataResponse, type GetAllMockPinnedSessionsRequest, type GetAllMockPinnedSessionsResponse, type GetAllMockSessionsRequest, type GetAllMockSessionsResponse, type GetAllMockSharedSessionVisitsRequest, type GetAllMockSharedSessionVisitsResponse, type GetAllMockToolsRequest, type GetAllMockToolsResponse, type GetAllMockUsersRequest, type GetAllMockUsersResponse, type GetAllToolsAdminRequest, type GetAllToolsAdminResponse, type GetChatAppsByRulesRequest, type GetChatAppsByRulesResponse, type GetChatMessagesAsAdminRequest, type GetChatMessagesAsAdminResponse, type GetChatSessionFeedbackResponse, type GetChatUserPrefsResponse, type GetInitialDataRequest, type GetInitialDataResponse, type GetInitialDialogDataRequest, type GetInitialDialogDataResponse, type GetInstructionAssistanceConfigFromSsmRequest, type GetInstructionAssistanceConfigFromSsmResponse, type GetInstructionsAddedForUserMemoryAdminRequest, type GetInstructionsAddedForUserMemoryAdminResponse, type GetInstructionsAddedForUserMemoryRequest, type GetInstructionsAddedForUserMemoryResponse, type GetMockSessionByUserIdAndSessionIdRequest, type GetMockSessionByUserIdAndSessionIdResponse, type GetPinnedSessionsRequest, type GetPinnedSessionsResponse, type GetRecentSharedRequest, type GetRecentSharedResponse, type GetUserWidgetDataRequest, type GetUserWidgetDataResponse, type GetValuesForAutoCompleteRequest, type GetValuesForAutoCompleteResponse, type GetValuesForContentAdminAutoCompleteRequest, type GetValuesForContentAdminAutoCompleteResponse, type GetValuesForEntityAutoCompleteRequest, type GetValuesForEntityAutoCompleteResponse, type GetValuesForUserAutoCompleteRequest, type GetValuesForUserAutoCompleteResponse, type GetViewingContentForUserResponse, type HistoryFeature, type HomePageLinksToChatAppsSiteFeature, type HomePageSiteFeature, INSIGHT_STATUS_NEEDS_INSIGHTS_ANALYSIS, type IUserWidgetDataStoreState, Inaccurate, type InlineContextConfig, type InlineToolDefinition, type InsightStatusNeedsInsightsAnalysis, type InsightsSearchParams, type InstructionAssistanceConfig, type InstructionAugmentationFeature, type InstructionAugmentationFeatureForChatApp, type InstructionAugmentationScopeType, type InstructionAugmentationScopeTypeDisplayName, InstructionAugmentationScopeTypeDisplayNames, InstructionAugmentationScopeTypes, type InstructionAugmentationType, type InstructionAugmentationTypeDisplayName, InstructionAugmentationTypeDisplayNames, InstructionAugmentationTypes, type InstructionFeature, type InvocationScopes, type InvokeAgentAsComponentOptions, type KnowledgeBase, type LambdaToolDefinition, type LifecycleStatus, type LogoutFeature, type LogoutFeatureForChatApp, type McpToolDefinition, type MemoryContent, type MemoryQueryOptions, type MessageSegment, type MessageSegmentBase, MessageSource, type NameValueDescTriple, type NameValuePair, type OAuth, type PagedRecordsResult, type PikaConfig, type PikaStack, type PikaUserRole, PikaUserRoles, type PinSessionRequest, type PinSessionResponse, type PinnedObjAndChatSession, type PinnedSession, type PinnedSessionDynamoDb, type PromptInputFieldLabelFeature, type PromptInputFieldLabelFeatureForChatApp, type RecordOrUndef, type RecordShareVisitRequest, type RecordShareVisitResponse, type RefreshChatAppRequest, type RefreshChatAppResponse, type RetrievedMemoryContent, type RetrievedMemoryRecordSummary, type RetryableVerifyResponseClassification, RetryableVerifyResponseClassifications, type RevokeSharedSessionRequest, type RevokeSharedSessionResponse, type RolloutPolicy, SCORE_SEARCH_OPERATORS, SCORE_SEARCH_OPERATORS_VALUES, SESSION_FEEDBACK_SEVERITY, SESSION_FEEDBACK_SEVERITY_VALUES, SESSION_FEEDBACK_STATUS, SESSION_FEEDBACK_STATUS_VALUES, SESSION_FEEDBACK_TYPE, SESSION_FEEDBACK_TYPE_VALUES, SESSION_INSIGHT_GOAL_COMPLETION_STATUS, SESSION_INSIGHT_GOAL_COMPLETION_STATUS_VALUES, SESSION_INSIGHT_METRICS_AI_CONFIDENCE_LEVEL, SESSION_INSIGHT_METRICS_AI_CONFIDENCE_LEVEL_VALUES, SESSION_INSIGHT_METRICS_COMPLEXITY_LEVEL, SESSION_INSIGHT_METRICS_COMPLEXITY_LEVEL_VALUES, SESSION_INSIGHT_METRICS_SESSION_DURATION_ESTIMATE, SESSION_INSIGHT_METRICS_SESSION_DURATION_ESTIMATE_VALUES, SESSION_INSIGHT_METRICS_USER_EFFORT_REQUIRED, SESSION_INSIGHT_METRICS_USER_EFFORT_REQUIRED_VALUES, SESSION_INSIGHT_SATISFACTION_LEVEL, SESSION_INSIGHT_SATISFACTION_LEVEL_VALUES, SESSION_INSIGHT_USER_SENTIMENT, SESSION_INSIGHT_USER_SENTIMENT_VALUES, SESSION_SEARCH_DATE_PRESETS, SESSION_SEARCH_DATE_PRESETS_SHORT_VALUES, SESSION_SEARCH_DATE_PRESETS_VALUES, SESSION_SEARCH_DATE_TYPES, SESSION_SEARCH_DATE_TYPES_VALUES, SESSION_SEARCH_SORT_FIELDS, SESSION_SEARCH_SORT_FIELDS_VALUES, type SaveUserOverrideDataRequest, type SaveUserOverrideDataResponse, type ScoreSearchOperator, type ScoreSearchParams, type SearchAllMemoryRecordsRequest, type SearchAllMemoryRecordsResponse, type SearchAllMyMemoryRecordsRequest, type SearchAllMyMemoryRecordsResponse, type SearchSemanticDirectivesAdminRequest, type SearchSemanticDirectivesRequest, type SearchSemanticDirectivesResponse, type SearchTagDefinitionsAdminRequest, type SearchToolsRequest, type SegmentType, type SemanticDirective, type SemanticDirectiveCreateOrUpdateAdminRequest, type SemanticDirectiveCreateOrUpdateRequest, type SemanticDirectiveCreateOrUpdateResponse, type SemanticDirectiveDataRequest, type SemanticDirectiveDeleteAdminRequest, type SemanticDirectiveDeleteRequest, type SemanticDirectiveDeleteResponse, type SemanticDirectiveForCreateOrUpdate, type SemanticDirectiveScope, type SessionAttributes, type SessionAttributesWithoutToken, type SessionData, type SessionDataWithChatUserCustomDataSpreadIn, type SessionFeedbackSeverity, type SessionFeedbackStatus, type SessionFeedbackType, type SessionInsightGoalCompletionStatus, type SessionInsightMetricsAiConfidenceLevel, type SessionInsightMetricsComplexityLevel, type SessionInsightMetricsSessionDurationEstimate, type SessionInsightMetricsUserEffortRequired, type SessionInsightSatisfactionLevel, type SessionInsightScoring, type SessionInsightUsage, type SessionInsightUserSentiment, type SessionInsights, type SessionInsightsFeature, type SessionInsightsFeatureForChatApp, type SessionInsightsOpenSearchConfig, type SessionSearchAdminRequest, type SessionSearchDateFilter, type SessionSearchDatePreset, type SessionSearchDateType, type SessionSearchRequest, type SessionSearchResponse, type SessionSearchSortField, type SetChatUserPrefsRequest, type SetChatUserPrefsResponse, type SetUserWidgetDataRequest, type SetUserWidgetDataResponse, type ShareSessionState, ShareSessionStateList, type SharedSessionVisitHistory, type SharedSessionVisitHistoryDynamoDb, type ShowToastFn, type ShowToastOptions, type SimpleAuthenticatedUser, type SimpleOption, SiteAdminCommand, type SiteAdminCommandRequestBase, type SiteAdminCommandResponseBase, type SiteAdminFeature, type SiteAdminRequest, type SiteAdminResponse, type SiteFeatures, type SpotlightContextConfig, type StopViewingContentForUserRequest, type StopViewingContentForUserResponse, type StreamingStatus, type SuggestionsFeature, type SuggestionsFeatureForChatApp, TAG_DEFINITION_STATUSES, TAG_DEFINITION_WIDGET_TYPES, type TagDefInJsonFile, type TagDefinition, type TagDefinitionCreateOrUpdateRequest, type TagDefinitionCreateOrUpdateResponse, type TagDefinitionDeleteRequest, type TagDefinitionDeleteResponse, type TagDefinitionForCreateOrUpdate, type TagDefinitionLite, type TagDefinitionSearchRequest, type TagDefinitionSearchResponse, type TagDefinitionStatus, type TagDefinitionWebComponent, type TagDefinitionWebComponentForCreateOrUpdate, type TagDefinitionWidget, type TagDefinitionWidgetBase, type TagDefinitionWidgetCustomCompiledIn, type TagDefinitionWidgetForCreateOrUpdate, type TagDefinitionWidgetPassThrough, type TagDefinitionWidgetPikaCompiledIn, type TagDefinitionWidgetType, type TagDefinitionWidgetWebComponent, type TagDefinitionWidgetWebComponentForCreateOrUpdate, type TagDefinitionsJsonFile, type TagMessageSegment, type TagWebComponentEncoding, type TagsChatAppOverridableFeature, type TagsFeatureForChatApp, type TagsSiteFeature, type TextMessageSegment, type ToolDefinition, type ToolDefinitionBase, type ToolDefinitionForCreate, type ToolDefinitionForIdempotentCreateOrUpdate, type ToolDefinitionForUpdate, type ToolIdToLambdaArnMap, type ToolInvocationContent, type ToolLifecycle, type TracesFeature, type TracesFeatureForChatApp, type TypedContentWithRole, UPDATEABLE_FEEDBACK_FIELDS, type UiCustomizationFeature, type UiCustomizationFeatureForChatApp, Unclassified, type UnpinSessionRequest, type UnpinSessionResponse, type UnrevokeSharedSessionRequest, type UnrevokeSharedSessionResponse, type UpdateAgentRequest, type UpdateChatAppRequest, type UpdateChatSessionFeedbackAdminRequest, type UpdateChatSessionFeedbackRequest, type UpdateChatSessionFeedbackResponse, type UpdateToolRequest, type UpdateableAgentDefinitionFields, type UpdateableChatAppFields, type UpdateableChatAppOverrideFields, type UpdateableFeedbackFields, type UpdateableToolDefinitionFields, type UserAwsCredentials, type UserAwsCredentialsResponse, type UserChatAppRule, type UserCognitoIdentity, type UserDataOverrideFeatureForChatApp, type UserDataOverrideSettings, type UserDataOverridesSiteFeature, type UserMemoryFeature, type UserMemoryFeatureForChatApp, type UserMemoryFeatureWithMemoryInfo, UserMemoryStrategies, type UserMemoryStrategy, type UserMessageContent, type UserOverrideData, UserOverrideDataCommand, type UserOverrideDataCommandRequest, type UserOverrideDataCommandRequestBase, type UserOverrideDataCommandResponse, type UserOverrideDataCommandResponseBase, type UserPrefs, type UserRole, type UserType, UserTypes, type UserWidgetData, type ValidateShareAccessRequest, type ValidateShareAccessResponse, type VerifyResponseClassification, type VerifyResponseClassificationDescription, VerifyResponseClassificationDescriptions, VerifyResponseClassifications, type VerifyResponseFeature, type VerifyResponseFeatureForChatApp, type VerifyResponseRetryableClassificationDescription, VerifyResponseRetryableClassificationDescriptions, type ViewContentForUserRequest, type ViewContentForUserResponse, type VitePreviewConfig, type ViteServerConfig, WIDGET_RENDERING_CONTEXT_TYPES, type WidgetAction, type WidgetMetadata, type WidgetMetadataState, type WidgetRenderingContextType, type WidgetRenderingContexts };
4235
+ export { type AccessRule, type AccessRules, Accurate, AccurateWithStatedAssumptions, AccurateWithUnstatedAssumptions, type AddChatSessionFeedbackAdminRequest, type AddChatSessionFeedbackRequest, type AddChatSessionFeedbackResponse, type AgentAndTools, type AgentDataRequest, type AgentDataResponse, type AgentDefinition, type AgentDefinitionForCreate, type AgentDefinitionForIdempotentCreateOrUpdate, type AgentDefinitionForUpdate, type AgentFramework, type AgentInstructionAssistanceFeature, type AgentInstructionAssistanceFeatureForChatApp, type AgentInstructionChatAppOverridableFeature, type ApplyRulesAs, type AssistantMessageContent, type AssistantRationaleContent, type Attachment, type AuthenticateResult, type AuthenticatedUser, type BaseRequestData, type BaseStackConfig, type CanvasContextConfig, type ChatApp, type ChatAppAction, type ChatAppActionGroup, type ChatAppActionMenu, type ChatAppActionMenuElements, type ChatAppComponentConfig, type ChatAppDataRequest, type ChatAppDataResponse, type ChatAppFeature, type ChatAppForCreate, type ChatAppForIdempotentCreateOrUpdate, type ChatAppForUpdate, type ChatAppLite, type ChatAppMode, type ChatAppOverridableFeatures, type ChatAppOverridableFeaturesForConverseFn, type ChatAppOverride, type ChatAppOverrideDdb, type ChatAppOverrideForCreateOrUpdate, type ChatDisclaimerNoticeFeature, type ChatDisclaimerNoticeFeatureForChatApp, type ChatMessage, type ChatMessageFile, type ChatMessageFileBase, ChatMessageFileLocationType, type ChatMessageFileS3, ChatMessageFileUseCase, type ChatMessageForCreate, type ChatMessageForRendering, type ChatMessageResponse, type ChatMessageUsage, type ChatMessagesResponse, type ChatSession, type ChatSessionFeedback, type ChatSessionFeedbackForCreate, type ChatSessionFeedbackForUpdate, type ChatSessionForCreate, type ChatSessionLiteForUpdate, type ChatSessionResponse, type ChatSessionsResponse, type ChatTitleUpdateRequest, type ChatUser, type ChatUserAddOrUpdateResponse, type ChatUserFeature, type ChatUserFeatureBase, type ChatUserLite, type ChatUserResponse, type ChatUserSearchResponse, type ClearConverseLambdaCacheRequest, type ClearConverseLambdaCacheResponse, type ClearConverseLambdaCacheType, ClearConverseLambdaCacheTypes, type ClearSvelteKitCacheType, ClearSvelteKitCacheTypes, type ClearSvelteKitCachesRequest, type ClearSvelteKitCachesResponse, type ClearUserOverrideDataRequest, type ClearUserOverrideDataResponse, type CompanyType, type ComponentTagDefinition, ContentAdminCommand, type ContentAdminCommandRequestBase, type ContentAdminCommandResponseBase, type ContentAdminData, type ContentAdminRequest, type ContentAdminResponse, type ContentAdminSiteFeature, type ConverseInvocationMode, ConverseInvocationModes, type ConverseRequest, type ConverseRequestWithCommand, ConverseSource, type CreateAgentRequest, type CreateChatAppRequest, type CreateOrUpdateChatAppOverrideRequest, type CreateOrUpdateChatAppOverrideResponse, type CreateOrUpdateMockAgentRequest, type CreateOrUpdateMockAgentResponse, type CreateOrUpdateMockChatAppRequest, type CreateOrUpdateMockChatAppResponse, type CreateOrUpdateMockSessionRequest, type CreateOrUpdateMockSessionResponse, type CreateOrUpdateMockToolRequest, type CreateOrUpdateMockToolResponse, type CreateOrUpdateMockUserRequest, type CreateOrUpdateMockUserResponse, type CreateOrUpdateTagDefinitionAdminRequest, type CreateSharedSessionRequest, type CreateSharedSessionResponse, type CreateToolRequest, type CustomDataUiRepresentation, DEFAULT_EVENT_EXPIRY_DURATION, DEFAULT_MAX_K_MATCHES_PER_STRATEGY, DEFAULT_MAX_MEMORY_RECORDS_PER_PROMPT, DEFAULT_MEMORY_STRATEGIES, type DeleteAllMockAgentsRequest, type DeleteAllMockAgentsResponse, type DeleteAllMockChatAppsRequest, type DeleteAllMockChatAppsResponse, type DeleteAllMockDataRequest, type DeleteAllMockDataResponse, type DeleteAllMockPinnedSessionsRequest, type DeleteAllMockPinnedSessionsResponse, type DeleteAllMockSessionsRequest, type DeleteAllMockSessionsResponse, type DeleteAllMockSharedSessionVisitsRequest, type DeleteAllMockSharedSessionVisitsResponse, type DeleteAllMockToolsRequest, type DeleteAllMockToolsResponse, type DeleteAllMockUsersRequest, type DeleteAllMockUsersResponse, type DeleteChatAppOverrideRequest, type DeleteChatAppOverrideResponse, type DeleteMockAgentRequest, type DeleteMockAgentResponse, type DeleteMockChatAppRequest, type DeleteMockChatAppResponse, type DeleteMockDataRequest, type DeleteMockDataResponse, type DeleteMockSessionRequest, type DeleteMockSessionResponse, type DeleteMockToolRequest, type DeleteMockToolResponse, type DeleteMockUserRequest, type DeleteMockUserResponse, type DeleteTagDefinitionAdminRequest, type DeleteUserWidgetDataRequest, type DeleteUserWidgetDataResponse, type DialogContextConfig, EndToEndFeatureIdList, type EndToEndFeatureIdType, type EntityFeatureForChatApp, type EntitySiteFeature, type ExecutionType, FEATURE_NAMES, FEEDBACK_INTERNAL_COMMENT_STATUS, FEEDBACK_INTERNAL_COMMENT_STATUS_VALUES, FEEDBACK_INTERNAL_COMMENT_TYPE, FEEDBACK_INTERNAL_COMMENT_TYPE_VALUES, type Feature, type FeatureError, FeatureIdList, type FeatureIdType, type FeatureType, FeatureTypeArr, type FeedbackInternalComment, type FeedbackInternalCommentStatus, type FeedbackInternalCommentType, type FileUploadFeature, type FileUploadFeatureForChatApp, type GetAgentRequest, type GetAgentResponse, type GetAllAgentsAdminRequest, type GetAllAgentsAdminResponse, type GetAllChatAppsAdminRequest, type GetAllChatAppsAdminResponse, type GetAllMemoryRecordsAdminRequest, type GetAllMemoryRecordsAdminResponse, type GetAllMockAgentsRequest, type GetAllMockAgentsResponse, type GetAllMockChatAppsRequest, type GetAllMockChatAppsResponse, type GetAllMockDataRequest, type GetAllMockDataResponse, type GetAllMockPinnedSessionsRequest, type GetAllMockPinnedSessionsResponse, type GetAllMockSessionsRequest, type GetAllMockSessionsResponse, type GetAllMockSharedSessionVisitsRequest, type GetAllMockSharedSessionVisitsResponse, type GetAllMockToolsRequest, type GetAllMockToolsResponse, type GetAllMockUsersRequest, type GetAllMockUsersResponse, type GetAllToolsAdminRequest, type GetAllToolsAdminResponse, type GetChatAppsByRulesRequest, type GetChatAppsByRulesResponse, type GetChatMessagesAsAdminRequest, type GetChatMessagesAsAdminResponse, type GetChatSessionFeedbackResponse, type GetChatUserPrefsResponse, type GetInitialDataRequest, type GetInitialDataResponse, type GetInitialDialogDataRequest, type GetInitialDialogDataResponse, type GetInstructionAssistanceConfigFromSsmRequest, type GetInstructionAssistanceConfigFromSsmResponse, type GetInstructionsAddedForUserMemoryAdminRequest, type GetInstructionsAddedForUserMemoryAdminResponse, type GetInstructionsAddedForUserMemoryRequest, type GetInstructionsAddedForUserMemoryResponse, type GetMockSessionByUserIdAndSessionIdRequest, type GetMockSessionByUserIdAndSessionIdResponse, type GetPinnedSessionsRequest, type GetPinnedSessionsResponse, type GetRecentSharedRequest, type GetRecentSharedResponse, type GetUserWidgetDataRequest, type GetUserWidgetDataResponse, type GetValuesForAutoCompleteRequest, type GetValuesForAutoCompleteResponse, type GetValuesForContentAdminAutoCompleteRequest, type GetValuesForContentAdminAutoCompleteResponse, type GetValuesForEntityAutoCompleteRequest, type GetValuesForEntityAutoCompleteResponse, type GetValuesForUserAutoCompleteRequest, type GetValuesForUserAutoCompleteResponse, type GetViewingContentForUserResponse, type HistoryFeature, type HomePageLinksToChatAppsSiteFeature, type HomePageSiteFeature, INSIGHT_STATUS_NEEDS_INSIGHTS_ANALYSIS, type IUserWidgetDataStoreState, Inaccurate, type InlineContextConfig, type InlineToolDefinition, type InsightStatusNeedsInsightsAnalysis, type InsightsSearchParams, type InstructionAssistanceConfig, type InstructionAugmentationFeature, type InstructionAugmentationFeatureForChatApp, type InstructionAugmentationScopeType, type InstructionAugmentationScopeTypeDisplayName, InstructionAugmentationScopeTypeDisplayNames, InstructionAugmentationScopeTypes, type InstructionAugmentationType, type InstructionAugmentationTypeDisplayName, InstructionAugmentationTypeDisplayNames, InstructionAugmentationTypes, type InstructionFeature, type InvocationScopes, type InvokeAgentAsComponentOptions, type KnowledgeBase, type LambdaToolDefinition, type LifecycleStatus, type LogoutFeature, type LogoutFeatureForChatApp, type McpToolDefinition, type MemoryContent, type MemoryQueryOptions, type MessageSegment, type MessageSegmentBase, MessageSource, type NameValueDescTriple, type NameValuePair, type OAuth, type PagedRecordsResult, type PikaConfig, type PikaStack, type PikaUserRole, PikaUserRoles, type PinSessionRequest, type PinSessionResponse, type PinnedObjAndChatSession, type PinnedSession, type PinnedSessionDynamoDb, type PromptInputFieldLabelFeature, type PromptInputFieldLabelFeatureForChatApp, type RecordOrUndef, type RecordShareVisitRequest, type RecordShareVisitResponse, type RefreshChatAppRequest, type RefreshChatAppResponse, type RetrievedMemoryContent, type RetrievedMemoryRecordSummary, type RetryableVerifyResponseClassification, RetryableVerifyResponseClassifications, type RevokeSharedSessionRequest, type RevokeSharedSessionResponse, type RolloutPolicy, SCORE_SEARCH_OPERATORS, SCORE_SEARCH_OPERATORS_VALUES, SESSION_FEEDBACK_SEVERITY, SESSION_FEEDBACK_SEVERITY_VALUES, SESSION_FEEDBACK_STATUS, SESSION_FEEDBACK_STATUS_VALUES, SESSION_FEEDBACK_TYPE, SESSION_FEEDBACK_TYPE_VALUES, SESSION_INSIGHT_GOAL_COMPLETION_STATUS, SESSION_INSIGHT_GOAL_COMPLETION_STATUS_VALUES, SESSION_INSIGHT_METRICS_AI_CONFIDENCE_LEVEL, SESSION_INSIGHT_METRICS_AI_CONFIDENCE_LEVEL_VALUES, SESSION_INSIGHT_METRICS_COMPLEXITY_LEVEL, SESSION_INSIGHT_METRICS_COMPLEXITY_LEVEL_VALUES, SESSION_INSIGHT_METRICS_SESSION_DURATION_ESTIMATE, SESSION_INSIGHT_METRICS_SESSION_DURATION_ESTIMATE_VALUES, SESSION_INSIGHT_METRICS_USER_EFFORT_REQUIRED, SESSION_INSIGHT_METRICS_USER_EFFORT_REQUIRED_VALUES, SESSION_INSIGHT_SATISFACTION_LEVEL, SESSION_INSIGHT_SATISFACTION_LEVEL_VALUES, SESSION_INSIGHT_USER_SENTIMENT, SESSION_INSIGHT_USER_SENTIMENT_VALUES, SESSION_SEARCH_DATE_PRESETS, SESSION_SEARCH_DATE_PRESETS_SHORT_VALUES, SESSION_SEARCH_DATE_PRESETS_VALUES, SESSION_SEARCH_DATE_TYPES, SESSION_SEARCH_DATE_TYPES_VALUES, SESSION_SEARCH_SORT_FIELDS, SESSION_SEARCH_SORT_FIELDS_VALUES, type SaveUserOverrideDataRequest, type SaveUserOverrideDataResponse, type ScoreSearchOperator, type ScoreSearchParams, type SearchAllMemoryRecordsRequest, type SearchAllMemoryRecordsResponse, type SearchAllMyMemoryRecordsRequest, type SearchAllMyMemoryRecordsResponse, type SearchSemanticDirectivesAdminRequest, type SearchSemanticDirectivesRequest, type SearchSemanticDirectivesResponse, type SearchTagDefinitionsAdminRequest, type SearchToolsRequest, type SegmentType, type SemanticDirective, type SemanticDirectiveCreateOrUpdateAdminRequest, type SemanticDirectiveCreateOrUpdateRequest, type SemanticDirectiveCreateOrUpdateResponse, type SemanticDirectiveDataRequest, type SemanticDirectiveDeleteAdminRequest, type SemanticDirectiveDeleteRequest, type SemanticDirectiveDeleteResponse, type SemanticDirectiveForCreateOrUpdate, type SemanticDirectiveScope, type SessionAttributes, type SessionAttributesWithoutToken, type SessionData, type SessionDataWithChatUserCustomDataSpreadIn, type SessionFeedbackSeverity, type SessionFeedbackStatus, type SessionFeedbackType, type SessionInsightGoalCompletionStatus, type SessionInsightMetricsAiConfidenceLevel, type SessionInsightMetricsComplexityLevel, type SessionInsightMetricsSessionDurationEstimate, type SessionInsightMetricsUserEffortRequired, type SessionInsightSatisfactionLevel, type SessionInsightScoring, type SessionInsightUsage, type SessionInsightUserSentiment, type SessionInsights, type SessionInsightsFeature, type SessionInsightsFeatureForChatApp, type SessionInsightsOpenSearchConfig, type SessionSearchAdminRequest, type SessionSearchDateFilter, type SessionSearchDatePreset, type SessionSearchDateType, type SessionSearchRequest, type SessionSearchResponse, type SessionSearchSortField, type SetChatUserPrefsRequest, type SetChatUserPrefsResponse, type SetUserWidgetDataRequest, type SetUserWidgetDataResponse, type ShareSessionState, ShareSessionStateList, type SharedSessionVisitHistory, type SharedSessionVisitHistoryDynamoDb, type ShowToastFn, type ShowToastOptions, type SimpleAuthenticatedUser, type SimpleOption, SiteAdminCommand, type SiteAdminCommandRequestBase, type SiteAdminCommandResponseBase, type SiteAdminFeature, type SiteAdminRequest, type SiteAdminResponse, type SiteFeatures, type SpotlightContextConfig, type StaticContextConfig, type StaticWidgetTagDefinition, type StopViewingContentForUserRequest, type StopViewingContentForUserResponse, type StreamingStatus, type SuggestionsFeature, type SuggestionsFeatureForChatApp, TAG_DEFINITION_STATUSES, TAG_DEFINITION_USAGE_MODES, TAG_DEFINITION_WIDGET_TYPES, type TagDefInJsonFile, type TagDefinition, type TagDefinitionCreateOrUpdateRequest, type TagDefinitionCreateOrUpdateResponse, type TagDefinitionDeleteRequest, type TagDefinitionDeleteResponse, type TagDefinitionForCreateOrUpdate, type TagDefinitionLite, type TagDefinitionSearchRequest, type TagDefinitionSearchResponse, type TagDefinitionStatus, type TagDefinitionUsageMode, type TagDefinitionWebComponent, type TagDefinitionWebComponentForCreateOrUpdate, type TagDefinitionWidget, type TagDefinitionWidgetBase, type TagDefinitionWidgetCustomCompiledIn, type TagDefinitionWidgetForCreateOrUpdate, type TagDefinitionWidgetPassThrough, type TagDefinitionWidgetPikaCompiledIn, type TagDefinitionWidgetType, type TagDefinitionWidgetWebComponent, type TagDefinitionWidgetWebComponentForCreateOrUpdate, type TagDefinitionsJsonFile, type TagMessageSegment, type TagWebComponentEncoding, type TagsChatAppOverridableFeature, type TagsFeatureForChatApp, type TagsSiteFeature, type TextMessageSegment, type ToolDefinition, type ToolDefinitionBase, type ToolDefinitionForCreate, type ToolDefinitionForIdempotentCreateOrUpdate, type ToolDefinitionForUpdate, type ToolIdToLambdaArnMap, type ToolInvocationContent, type ToolLifecycle, type TracesFeature, type TracesFeatureForChatApp, type TypedContentWithRole, UPDATEABLE_FEEDBACK_FIELDS, type UiCustomizationFeature, type UiCustomizationFeatureForChatApp, Unclassified, type UnpinSessionRequest, type UnpinSessionResponse, type UnrevokeSharedSessionRequest, type UnrevokeSharedSessionResponse, type UpdateAgentRequest, type UpdateChatAppRequest, type UpdateChatSessionFeedbackAdminRequest, type UpdateChatSessionFeedbackRequest, type UpdateChatSessionFeedbackResponse, type UpdateToolRequest, type UpdateableAgentDefinitionFields, type UpdateableChatAppFields, type UpdateableChatAppOverrideFields, type UpdateableFeedbackFields, type UpdateableToolDefinitionFields, type UserAwsCredentials, type UserAwsCredentialsResponse, type UserChatAppRule, type UserCognitoIdentity, type UserDataOverrideFeatureForChatApp, type UserDataOverrideSettings, type UserDataOverridesSiteFeature, type UserMemoryFeature, type UserMemoryFeatureForChatApp, type UserMemoryFeatureWithMemoryInfo, UserMemoryStrategies, type UserMemoryStrategy, type UserMessageContent, type UserOverrideData, UserOverrideDataCommand, type UserOverrideDataCommandRequest, type UserOverrideDataCommandRequestBase, type UserOverrideDataCommandResponse, type UserOverrideDataCommandResponseBase, type UserPrefs, type UserRole, type UserType, UserTypes, type UserWidgetData, type ValidateShareAccessRequest, type ValidateShareAccessResponse, type VerifyResponseClassification, type VerifyResponseClassificationDescription, VerifyResponseClassificationDescriptions, VerifyResponseClassifications, type VerifyResponseFeature, type VerifyResponseFeatureForChatApp, type VerifyResponseRetryableClassificationDescription, VerifyResponseRetryableClassificationDescriptions, type ViewContentForUserRequest, type ViewContentForUserResponse, type VitePreviewConfig, type ViteServerConfig, WIDGET_RENDERING_CONTEXT_TYPES, type WidgetAction, type WidgetDialogSizeCustom, type WidgetDialogSizePreset, type WidgetDialogSizing, type WidgetInlineSizing, type WidgetMetadata, type WidgetMetadataState, type WidgetRenderingContextType, type WidgetRenderingContexts, type WidgetSizing };