@happyvertical/smrt-support 0.57.37 → 0.57.38
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +15 -3
- package/dist/models/support-case.d.ts +2 -2
- package/dist/models/support-case.d.ts.map +1 -1
- package/dist/smrt-knowledge.json +9 -3
- package/package.json +11 -11
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-support",
|
|
5
|
-
"packageVersion": "0.57.
|
|
5
|
+
"packageVersion": "0.57.38",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-support:ServiceTimeEntry": {
|
|
8
8
|
"name": "servicetimeentry",
|
|
@@ -245,7 +245,13 @@
|
|
|
245
245
|
"save": {
|
|
246
246
|
"name": "save",
|
|
247
247
|
"async": true,
|
|
248
|
-
"parameters": [
|
|
248
|
+
"parameters": [
|
|
249
|
+
{
|
|
250
|
+
"name": "options",
|
|
251
|
+
"type": "SmrtSaveOptions",
|
|
252
|
+
"optional": true
|
|
253
|
+
}
|
|
254
|
+
],
|
|
249
255
|
"returnType": "Promise<this>",
|
|
250
256
|
"isStatic": false,
|
|
251
257
|
"isPublic": true
|
|
@@ -2226,7 +2232,13 @@
|
|
|
2226
2232
|
"save": {
|
|
2227
2233
|
"name": "save",
|
|
2228
2234
|
"async": true,
|
|
2229
|
-
"parameters": [
|
|
2235
|
+
"parameters": [
|
|
2236
|
+
{
|
|
2237
|
+
"name": "options",
|
|
2238
|
+
"type": "SmrtSaveOptions",
|
|
2239
|
+
"optional": true
|
|
2240
|
+
}
|
|
2241
|
+
],
|
|
2230
2242
|
"returnType": "Promise<this>",
|
|
2231
2243
|
"isStatic": false,
|
|
2232
2244
|
"isPublic": true
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* read-only (`list`/`get`); the save-time transition guard below additionally
|
|
10
10
|
* rejects illegal status flips done via raw field assignment.
|
|
11
11
|
*/
|
|
12
|
-
import { type DecisionRequest, type DecisionResult, SmrtCollection, SmrtObject } from '@happyvertical/smrt-core';
|
|
12
|
+
import { type DecisionRequest, type DecisionResult, SmrtCollection, SmrtObject, type SmrtSaveOptions } from '@happyvertical/smrt-core';
|
|
13
13
|
import { type SupportCaseStatus } from '../types.js';
|
|
14
14
|
/** Generate a short human-facing case number (unique enough per tenant). */
|
|
15
15
|
export declare function generateCaseNumber(now?: Date): string;
|
|
@@ -109,7 +109,7 @@ export declare class SupportCase extends SmrtObject {
|
|
|
109
109
|
*/
|
|
110
110
|
initialize(): Promise<this>;
|
|
111
111
|
/** Validate the status transition before persisting, then save. */
|
|
112
|
-
save(): Promise<this>;
|
|
112
|
+
save(options?: SmrtSaveOptions): Promise<this>;
|
|
113
113
|
protected assertStatusTransition(prior: SupportCaseStatus | undefined): void;
|
|
114
114
|
/**
|
|
115
115
|
* Resolve the AUTHORITATIVE prior status. The WeakMap only covers rows
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"support-case.d.ts","sourceRoot":"","sources":["../../src/models/support-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EAGnB,cAAc,EACd,UAAU,
|
|
1
|
+
{"version":3,"file":"support-case.d.ts","sourceRoot":"","sources":["../../src/models/support-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EAGnB,cAAc,EACd,UAAU,EACV,KAAK,eAAe,EAErB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,aAAa,CAAC;AAQrB,4EAA4E;AAC5E,wBAAgB,kBAAkB,CAAC,GAAG,GAAE,IAAiB,GAAG,MAAM,CAI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,SAAS,CAAC;CAa7E;AAED,qBAAa,qBAAsB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACpE,MAAM,CAAC,QAAQ,CAAC,UAAU,qBAAe;IAEzC;;;;OAIG;IACG,mBAAmB,CACvB,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE;QAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAO,GAC1C,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;IAgB9B,uDAAuD;IACjD,SAAS,CACb,OAAO,GAAE;QACP,MAAM,CAAC,EAAE,iBAAiB,GAAG,iBAAiB,EAAE,CAAC;QACjD,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACrC,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACZ,GACL,OAAO,CAAC,WAAW,EAAE,CAAC;CA2B1B;AAED,eAAe,WAAW,CAAC"}
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -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.57.
|
|
6
|
+
"packageVersion": "0.57.38",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "4b2c7397d8c97c15e3b0c0d775c1027fc244bee842838d69d56496e49d42271d",
|
|
11
|
+
"packageJson": "442eaa94d2f84d392f8aa3555d713bb6bfcfff587b8deed253324d446be82cc8",
|
|
12
12
|
"agents": "06c34c176f2e9fcb1b2b2efa900ea859e8fe61906a5345f8bac81cd2119a2998"
|
|
13
13
|
},
|
|
14
14
|
"exports": [
|
|
@@ -328,6 +328,9 @@
|
|
|
328
328
|
{
|
|
329
329
|
"name": "save",
|
|
330
330
|
"async": true,
|
|
331
|
+
"params": [
|
|
332
|
+
"options?: SmrtSaveOptions"
|
|
333
|
+
],
|
|
331
334
|
"returns": "Promise<this>"
|
|
332
335
|
},
|
|
333
336
|
{
|
|
@@ -1379,6 +1382,9 @@
|
|
|
1379
1382
|
{
|
|
1380
1383
|
"name": "save",
|
|
1381
1384
|
"async": true,
|
|
1385
|
+
"params": [
|
|
1386
|
+
"options?: SmrtSaveOptions"
|
|
1387
|
+
],
|
|
1382
1388
|
"returns": "Promise<this>"
|
|
1383
1389
|
},
|
|
1384
1390
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-support",
|
|
3
|
-
"version": "0.57.
|
|
3
|
+
"version": "0.57.38",
|
|
4
4
|
"smrtJsdoc": "strict",
|
|
5
5
|
"description": "AI-first Support Cases: channel-neutral intake, lifecycle, routing, service targets, and service time for the SMRT framework",
|
|
6
6
|
"type": "module",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@happyvertical/logger": "^0.110.0",
|
|
30
|
-
"@happyvertical/smrt-chat": "0.57.
|
|
31
|
-
"@happyvertical/smrt-core": "0.57.
|
|
32
|
-
"@happyvertical/smrt-jobs": "0.57.
|
|
33
|
-
"@happyvertical/smrt-messages": "0.57.
|
|
34
|
-
"@happyvertical/smrt-projects": "0.57.
|
|
35
|
-
"@happyvertical/smrt-tenancy": "0.57.
|
|
36
|
-
"@happyvertical/smrt-timesheets": "0.57.
|
|
37
|
-
"@happyvertical/smrt-ui": "0.57.
|
|
38
|
-
"@happyvertical/smrt-users": "0.57.
|
|
30
|
+
"@happyvertical/smrt-chat": "0.57.38",
|
|
31
|
+
"@happyvertical/smrt-core": "0.57.38",
|
|
32
|
+
"@happyvertical/smrt-jobs": "0.57.38",
|
|
33
|
+
"@happyvertical/smrt-messages": "0.57.38",
|
|
34
|
+
"@happyvertical/smrt-projects": "0.57.38",
|
|
35
|
+
"@happyvertical/smrt-tenancy": "0.57.38",
|
|
36
|
+
"@happyvertical/smrt-timesheets": "0.57.38",
|
|
37
|
+
"@happyvertical/smrt-ui": "0.57.38",
|
|
38
|
+
"@happyvertical/smrt-users": "0.57.38",
|
|
39
39
|
"@happyvertical/sql": "^0.110.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@happyvertical/smrt-vitest": "0.57.
|
|
50
|
+
"@happyvertical/smrt-vitest": "0.57.38",
|
|
51
51
|
"@sveltejs/package": "^2.5.8",
|
|
52
52
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
53
53
|
"@types/node": "24.13.6",
|