@happyvertical/smrt-support 0.43.10 → 0.44.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.
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-support",
5
- "packageVersion": "0.43.10",
5
+ "packageVersion": "0.44.0",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-support:ServiceTimeEntry": {
8
8
  "name": "servicetimeentry",
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-support",
6
- "packageVersion": "0.43.10",
6
+ "packageVersion": "0.44.0",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "df2d228c996fcfd3b22155670e6f5b63541eea6276dc6b45fa48a12b1304a933",
11
- "packageJson": "12729abc52cf60431b82b277453b7f8c679475b5302c28a409d3a1ff1408b4ba",
10
+ "manifest": "72c28d09b2d354ace121b5de44afbac39a8334512bb0d281e61c57583f8a8690",
11
+ "packageJson": "61ac142af1f1b0b5c849a00a3c9ad6359b0cbdfd7260a17dbf347f0243615bb6",
12
12
  "agents": "57d75c4e48c549de0e7e50bfc16d739384cd37f4a0c66f0375d1985b24e6cbdd"
13
13
  },
14
14
  "exports": [
@@ -17,8 +17,11 @@ import {
17
17
  } from '../types.js';
18
18
 
19
19
  export interface CaseDetailProps {
20
+ /** Case details including status, priority, assignment, and metadata. */
20
21
  caseView: SupportCaseView;
22
+ /** Array of timeline events including interactions and status changes. */
21
23
  timeline?: CaseTimelineItemView[];
24
+ /** Array of linked work items associated with the case. */
22
25
  workLinks?: SupportWorkLinkView[];
23
26
  }
24
27
 
@@ -1,7 +1,10 @@
1
1
  import { type CaseTimelineItemView, type SupportCaseView, type SupportWorkLinkView } from '../types.js';
2
2
  export interface CaseDetailProps {
3
+ /** Case details including status, priority, assignment, and metadata. */
3
4
  caseView: SupportCaseView;
5
+ /** Array of timeline events including interactions and status changes. */
4
6
  timeline?: CaseTimelineItemView[];
7
+ /** Array of linked work items associated with the case. */
5
8
  workLinks?: SupportWorkLinkView[];
6
9
  }
7
10
  declare const CaseDetail: import("svelte").Component<CaseDetailProps, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"CaseDetail.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/CaseDetail.svelte.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,KAAK,oBAAoB,EAIzB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACzB,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAClC,SAAS,CAAC,EAAE,mBAAmB,EAAE,CAAC;CACnC;AAgID,QAAA,MAAM,UAAU,qDAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"CaseDetail.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/CaseDetail.svelte.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,KAAK,oBAAoB,EAIzB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACzB,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,eAAe;IAC9B,yEAAyE;IACzE,QAAQ,EAAE,eAAe,CAAC;IAC1B,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAClC,2DAA2D;IAC3D,SAAS,CAAC,EAAE,mBAAmB,EAAE,CAAC;CACnC;AAgID,QAAA,MAAM,UAAU,qDAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
@@ -14,8 +14,11 @@ import {
14
14
  } from '../types.js';
15
15
 
16
16
  export interface CaseQueueProps {
17
+ /** Array of support cases to display in the queue. */
17
18
  cases: SupportCaseView[];
19
+ /** Callback invoked with the case ID when a case is selected. */
18
20
  onselect?: (caseId: string) => void;
21
+ /** Message displayed when the case queue is empty. */
19
22
  emptyMessage?: string;
20
23
  /** Show the assigned-specialist column (default true). */
21
24
  showAssignee?: boolean;
@@ -1,7 +1,10 @@
1
1
  import { type SupportCaseView } from '../types.js';
2
2
  export interface CaseQueueProps {
3
+ /** Array of support cases to display in the queue. */
3
4
  cases: SupportCaseView[];
5
+ /** Callback invoked with the case ID when a case is selected. */
4
6
  onselect?: (caseId: string) => void;
7
+ /** Message displayed when the case queue is empty. */
5
8
  emptyMessage?: string;
6
9
  /** Show the assigned-specialist column (default true). */
7
10
  showAssignee?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"CaseQueue.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/CaseQueue.svelte.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAmED,QAAA,MAAM,SAAS,oDAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"CaseQueue.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/CaseQueue.svelte.ts"],"names":[],"mappings":"AASA,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,cAAc;IAC7B,sDAAsD;IACtD,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,sDAAsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAmED,QAAA,MAAM,SAAS,oDAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
@@ -11,9 +11,11 @@ import { Button, StatusBadge } from '@happyvertical/smrt-ui';
11
11
  import type { RankedSpecialistView } from '../types.js';
12
12
 
13
13
  export interface RoutingRationaleProps {
14
+ /** Array of ranked specialists with scores and eligibility factors. */
14
15
  ranking: RankedSpecialistView[];
15
16
  /** When provided, each row shows a reassign action. */
16
17
  onreassign?: (specialistId: string) => void;
18
+ /** Message displayed when there are no specialists to rank. */
17
19
  emptyMessage?: string;
18
20
  }
19
21
 
@@ -1,8 +1,10 @@
1
1
  import type { RankedSpecialistView } from '../types.js';
2
2
  export interface RoutingRationaleProps {
3
+ /** Array of ranked specialists with scores and eligibility factors. */
3
4
  ranking: RankedSpecialistView[];
4
5
  /** When provided, each row shows a reassign action. */
5
6
  onreassign?: (specialistId: string) => void;
7
+ /** Message displayed when there are no specialists to rank. */
6
8
  emptyMessage?: string;
7
9
  }
8
10
  declare const RoutingRationale: import("svelte").Component<RoutingRationaleProps, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"RoutingRationale.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/RoutingRationale.svelte.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAGxD,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAChC,uDAAuD;IACvD,UAAU,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAuDD,QAAA,MAAM,gBAAgB,2DAAwC,CAAC;AAC/D,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC5D,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"RoutingRationale.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/RoutingRationale.svelte.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAGxD,MAAM,WAAW,qBAAqB;IACpC,uEAAuE;IACvE,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAChC,uDAAuD;IACvD,UAAU,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,+DAA+D;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAuDD,QAAA,MAAM,gBAAgB,2DAAwC,CAAC;AAC/D,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC5D,eAAe,gBAAgB,CAAC"}
@@ -14,7 +14,9 @@ import {
14
14
  } from '../types.js';
15
15
 
16
16
  export interface TargetListProps {
17
+ /** Array of service targets showing status and due times. */
17
18
  targets: ServiceTargetView[];
19
+ /** Message displayed when the target list is empty. */
18
20
  emptyMessage?: string;
19
21
  }
20
22
 
@@ -1,6 +1,8 @@
1
1
  import { type ServiceTargetView } from '../types.js';
2
2
  export interface TargetListProps {
3
+ /** Array of service targets showing status and due times. */
3
4
  targets: ServiceTargetView[];
5
+ /** Message displayed when the target list is empty. */
4
6
  emptyMessage?: string;
5
7
  }
6
8
  declare const TargetList: import("svelte").Component<TargetListProps, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"TargetList.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/TargetList.svelte.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,KAAK,iBAAiB,EAEvB,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAwDD,QAAA,MAAM,UAAU,qDAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"TargetList.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/TargetList.svelte.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,KAAK,iBAAiB,EAEvB,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,eAAe;IAC9B,6DAA6D;IAC7D,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAwDD,QAAA,MAAM,UAAU,qDAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
@@ -17,9 +17,13 @@ import {
17
17
  } from '../types.js';
18
18
 
19
19
  export interface TimeEntryApprovalQueueProps {
20
+ /** Array of time entries awaiting approval review. */
20
21
  entries: SupportTimeEntryView[];
22
+ /** Callback invoked with entry ID when approving a time entry. */
21
23
  onapprove?: (id: string) => void;
24
+ /** Callback invoked with entry ID and rejection reason when rejecting a time entry. */
22
25
  onreject?: (id: string, reason: string) => void;
26
+ /** Message displayed when the approval queue is empty. */
23
27
  emptyMessage?: string;
24
28
  }
25
29
 
@@ -1,8 +1,12 @@
1
1
  import { type SupportTimeEntryView } from '../types.js';
2
2
  export interface TimeEntryApprovalQueueProps {
3
+ /** Array of time entries awaiting approval review. */
3
4
  entries: SupportTimeEntryView[];
5
+ /** Callback invoked with entry ID when approving a time entry. */
4
6
  onapprove?: (id: string) => void;
7
+ /** Callback invoked with entry ID and rejection reason when rejecting a time entry. */
5
8
  onreject?: (id: string, reason: string) => void;
9
+ /** Message displayed when the approval queue is empty. */
6
10
  emptyMessage?: string;
7
11
  }
8
12
  declare const TimeEntryApprovalQueue: import("svelte").Component<TimeEntryApprovalQueueProps, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"TimeEntryApprovalQueue.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/TimeEntryApprovalQueue.svelte.ts"],"names":[],"mappings":"AAaA,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAChC,SAAS,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAkHD,QAAA,MAAM,sBAAsB,iEAAwC,CAAC;AACrE,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACxE,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"TimeEntryApprovalQueue.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/TimeEntryApprovalQueue.svelte.ts"],"names":[],"mappings":"AAaA,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,2BAA2B;IAC1C,sDAAsD;IACtD,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAChC,kEAAkE;IAClE,SAAS,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,uFAAuF;IACvF,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,0DAA0D;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAkHD,QAAA,MAAM,sBAAsB,iEAAwC,CAAC;AACrE,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACxE,eAAe,sBAAsB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-support",
3
- "version": "0.43.10",
3
+ "version": "0.44.0",
4
+ "smrtJsdoc": "strict",
4
5
  "description": "AI-first Support Cases: channel-neutral intake, lifecycle, routing, service targets, and service time for the SMRT framework",
5
6
  "type": "module",
6
7
  "main": "./dist/index.js",
@@ -27,14 +28,14 @@
27
28
  "dependencies": {
28
29
  "@happyvertical/logger": "^0.89.4",
29
30
  "@happyvertical/sql": "^0.89.4",
30
- "@happyvertical/smrt-chat": "0.43.10",
31
- "@happyvertical/smrt-jobs": "0.43.10",
32
- "@happyvertical/smrt-messages": "0.43.10",
33
- "@happyvertical/smrt-tenancy": "0.43.10",
34
- "@happyvertical/smrt-projects": "0.43.10",
35
- "@happyvertical/smrt-core": "0.43.10",
36
- "@happyvertical/smrt-ui": "0.43.10",
37
- "@happyvertical/smrt-users": "0.43.10"
31
+ "@happyvertical/smrt-messages": "0.44.0",
32
+ "@happyvertical/smrt-jobs": "0.44.0",
33
+ "@happyvertical/smrt-tenancy": "0.44.0",
34
+ "@happyvertical/smrt-projects": "0.44.0",
35
+ "@happyvertical/smrt-chat": "0.44.0",
36
+ "@happyvertical/smrt-core": "0.44.0",
37
+ "@happyvertical/smrt-users": "0.44.0",
38
+ "@happyvertical/smrt-ui": "0.44.0"
38
39
  },
39
40
  "peerDependencies": {
40
41
  "svelte": "^5.56.4"
@@ -53,7 +54,7 @@
53
54
  "typescript": "5.9.3",
54
55
  "vite": "8.1.4",
55
56
  "vitest": "4.1.10",
56
- "@happyvertical/smrt-vitest": "0.43.10"
57
+ "@happyvertical/smrt-vitest": "0.44.0"
57
58
  },
58
59
  "keywords": [
59
60
  "smrt",