@snf/access-qa-bot 3.3.11 → 3.3.13

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.ts CHANGED
@@ -5,11 +5,11 @@ import { RefAttributes } from 'react';
5
5
  * AccessQABot - Wrapper around @snf/qa-bot-core with ACCESS-specific functionality
6
6
  *
7
7
  * This component demonstrates how to extend qa-bot-core with custom flows:
8
- * 1. Main menu flow - provides top-level navigation
8
+ * 1. Main menu flow - provides top-level navigation from dynamic capabilities
9
9
  * 2. Ticket flows - handles ticket creation with file uploads
10
10
  *
11
- * The wrapper pattern keeps ACCESS-specific logic (JIRA integration, ticket forms)
12
- * separate from the generic qa-bot-core library.
11
+ * The wrapper pattern keeps ACCESS-specific logic (JIRA integration, ticket forms,
12
+ * capability fetching) separate from the generic qa-bot-core library.
13
13
  */
14
14
  declare const AccessQABot: ForwardRefExoticComponent<QABotProps & RefAttributes<QABotRef>>;
15
15
  export { AccessQABot }
@@ -29,18 +29,22 @@ declare interface AccessQABotAnalyticsEvent {
29
29
  export declare const API_CONFIG: {
30
30
  QA_ENDPOINT: string;
31
31
  RATING_ENDPOINT: string;
32
+ AGENT_ENDPOINT: any;
33
+ readonly CAPABILITIES_ENDPOINT: string;
34
+ readonly AGENT_RATING_ENDPOINT: string;
32
35
  METRICS_API_ENDPOINT: any;
33
36
  METRICS_RATING_ENDPOINT: any;
34
37
  METRICS_QUESTIONS_URL: string;
35
38
  NETLIFY_BASE_URL: string;
36
39
  DEFAULT_API_KEY: string;
40
+ TURNSTILE_SITE_KEY: any;
41
+ ALLOW_ANON_ACCESS: boolean;
37
42
  };
38
43
 
39
44
  export declare const BOT_CONFIG: {
40
45
  BOT_NAME: string;
41
46
  LOGO: string;
42
47
  WELCOME_MESSAGE: string;
43
- WELCOME_MESSAGE_LOGGED_OUT: string;
44
48
  LOGIN_URL: string;
45
49
  PRIMARY_COLOR: string;
46
50
  SECONDARY_COLOR: string;
@@ -79,6 +83,7 @@ export declare interface QABotProps {
79
83
  defaultOpen?: boolean;
80
84
  qaEndpoint?: string;
81
85
  ratingEndpoint?: string;
86
+ agentEndpoint?: string;
82
87
  onClose?: () => void;
83
88
  /**
84
89
  * Callback for analytics events.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snf/access-qa-bot",
3
- "version": "3.3.11",
3
+ "version": "3.3.13",
4
4
  "description": "ACCESS-specific wrapper around @snf/qa-bot-core",
5
5
  "type": "module",
6
6
  "main": "./dist/access-qa-bot.umd.cjs",
@@ -30,7 +30,7 @@
30
30
  "react-dom": "^18.0.0 || ^19.0.0"
31
31
  },
32
32
  "dependencies": {
33
- "@snf/qa-bot-core": "^0.2.24",
33
+ "@snf/qa-bot-core": "^0.2.31",
34
34
  "react-chatbotify": "^2.0.0",
35
35
  "uuid": "^11.1.0"
36
36
  },