@happyvertical/smrt-support 0.40.64 → 0.40.66

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.
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
+ "sensitiveFieldsExcluded": true,
3
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
4
5
  "packageName": "@happyvertical/smrt-support",
5
- "packageVersion": "0.40.64",
6
+ "packageVersion": "0.40.66",
6
7
  "sourceManifestPath": "dist/manifest.json",
7
8
  "agentDocPath": "AGENTS.md",
8
9
  "sourceHashes": {
9
- "manifest": "11003724b7b62c0ed0f9136ae555bdad43ae7b534721d86f684d3b1211028f8b",
10
- "packageJson": "f78c3a7a15fa662e228413e0d85d35e10e6a2e4cf49471045df00d8d9313ef51",
10
+ "manifest": "d4e95632231ae777255a214cf0961eaabae1830acad1851f7e89f2264efa9631",
11
+ "packageJson": "6950f704856db4b3abdc6d7557463fc9570a057d475c9ff6b7bb08e8b2ff7698",
11
12
  "agents": "3e834b4860801f2647b32bb1bc2169373a9715a946338895426461ff16b646d3"
12
13
  },
13
14
  "exports": [
@@ -142,7 +143,8 @@
142
143
  "name": "durationSeconds",
143
144
  "type": "integer",
144
145
  "required": false,
145
- "columnType": "INTEGER"
146
+ "columnType": "INTEGER",
147
+ "default": 0
146
148
  },
147
149
  {
148
150
  "name": "evidence",
@@ -273,6 +275,11 @@
273
275
  }
274
276
  ],
275
277
  "methods": [],
278
+ "tenant": {
279
+ "scoped": true,
280
+ "mode": "optional",
281
+ "field": "tenantId"
282
+ },
276
283
  "surfaces": [
277
284
  {
278
285
  "kind": "api",
@@ -337,6 +344,29 @@
337
344
  "forSpecialist",
338
345
  "pendingApproval"
339
346
  ],
347
+ "methodSignatures": [
348
+ {
349
+ "name": "forCase",
350
+ "async": true,
351
+ "params": [
352
+ "caseId: string"
353
+ ],
354
+ "returns": "Promise<ServiceTimeEntry[]>"
355
+ },
356
+ {
357
+ "name": "forSpecialist",
358
+ "async": true,
359
+ "params": [
360
+ "specialistId: string"
361
+ ],
362
+ "returns": "Promise<ServiceTimeEntry[]>"
363
+ },
364
+ {
365
+ "name": "pendingApproval",
366
+ "async": true,
367
+ "returns": "Promise<ServiceTimeEntry[]>"
368
+ }
369
+ ],
340
370
  "surfaces": [],
341
371
  "relationshipFeatures": [
342
372
  "uuidColumns"
@@ -483,6 +513,46 @@
483
513
  "setKnowledgeRefs",
484
514
  "setToolCalls"
485
515
  ],
516
+ "methodSignatures": [
517
+ {
518
+ "name": "getClassification",
519
+ "returns": "Record<string>"
520
+ },
521
+ {
522
+ "name": "getKnowledgeRefs",
523
+ "returns": "Array<Record<string>>"
524
+ },
525
+ {
526
+ "name": "getToolCalls",
527
+ "returns": "Array<Record<string>>"
528
+ },
529
+ {
530
+ "name": "setClassification",
531
+ "params": [
532
+ "value: Record<string>"
533
+ ],
534
+ "returns": "void"
535
+ },
536
+ {
537
+ "name": "setKnowledgeRefs",
538
+ "params": [
539
+ "refs: Array<Record<string>>"
540
+ ],
541
+ "returns": "void"
542
+ },
543
+ {
544
+ "name": "setToolCalls",
545
+ "params": [
546
+ "calls: Array<Record<string>>"
547
+ ],
548
+ "returns": "void"
549
+ }
550
+ ],
551
+ "tenant": {
552
+ "scoped": true,
553
+ "mode": "optional",
554
+ "field": "tenantId"
555
+ },
486
556
  "surfaces": [
487
557
  {
488
558
  "kind": "api",
@@ -544,6 +614,16 @@
544
614
  "methods": [
545
615
  "forCase"
546
616
  ],
617
+ "methodSignatures": [
618
+ {
619
+ "name": "forCase",
620
+ "async": true,
621
+ "params": [
622
+ "caseId: string"
623
+ ],
624
+ "returns": "Promise<SupportAiRun[]>"
625
+ }
626
+ ],
547
627
  "surfaces": [],
548
628
  "relationshipFeatures": [
549
629
  "uuidColumns"
@@ -630,6 +710,24 @@
630
710
  "getPayload",
631
711
  "setPayload"
632
712
  ],
713
+ "methodSignatures": [
714
+ {
715
+ "name": "getPayload",
716
+ "returns": "Record<string>"
717
+ },
718
+ {
719
+ "name": "setPayload",
720
+ "params": [
721
+ "value: Record<string>"
722
+ ],
723
+ "returns": "void"
724
+ }
725
+ ],
726
+ "tenant": {
727
+ "scoped": true,
728
+ "mode": "optional",
729
+ "field": "tenantId"
730
+ },
633
731
  "surfaces": [
634
732
  {
635
733
  "kind": "api",
@@ -692,6 +790,17 @@
692
790
  "methods": [
693
791
  "forCase"
694
792
  ],
793
+ "methodSignatures": [
794
+ {
795
+ "name": "forCase",
796
+ "async": true,
797
+ "params": [
798
+ "caseId: string",
799
+ "options?: object"
800
+ ],
801
+ "returns": "Promise<SupportCaseEvent[]>"
802
+ }
803
+ ],
695
804
  "surfaces": [],
696
805
  "relationshipFeatures": [
697
806
  "uuidColumns"
@@ -837,7 +946,8 @@
837
946
  "name": "escalationLevel",
838
947
  "type": "integer",
839
948
  "required": false,
840
- "columnType": "INTEGER"
949
+ "columnType": "INTEGER",
950
+ "default": 0
841
951
  },
842
952
  {
843
953
  "name": "escalatedAt",
@@ -898,7 +1008,8 @@
898
1008
  "name": "reopenCount",
899
1009
  "type": "integer",
900
1010
  "required": false,
901
- "columnType": "INTEGER"
1011
+ "columnType": "INTEGER",
1012
+ "default": 0
902
1013
  },
903
1014
  {
904
1015
  "name": "lastReopenedAt",
@@ -980,6 +1091,56 @@
980
1091
  "setPlanSnapshot",
981
1092
  "updateMetadata"
982
1093
  ],
1094
+ "methodSignatures": [
1095
+ {
1096
+ "name": "getMetadata",
1097
+ "returns": "Record<string>"
1098
+ },
1099
+ {
1100
+ "name": "getPlanSnapshot",
1101
+ "returns": "Record<string>"
1102
+ },
1103
+ {
1104
+ "name": "initialize",
1105
+ "async": true,
1106
+ "returns": "Promise"
1107
+ },
1108
+ {
1109
+ "name": "isOpen",
1110
+ "returns": "boolean"
1111
+ },
1112
+ {
1113
+ "name": "save",
1114
+ "async": true,
1115
+ "returns": "Promise"
1116
+ },
1117
+ {
1118
+ "name": "setMetadata",
1119
+ "params": [
1120
+ "value: Record<string>"
1121
+ ],
1122
+ "returns": "void"
1123
+ },
1124
+ {
1125
+ "name": "setPlanSnapshot",
1126
+ "params": [
1127
+ "value: Record<string>"
1128
+ ],
1129
+ "returns": "void"
1130
+ },
1131
+ {
1132
+ "name": "updateMetadata",
1133
+ "params": [
1134
+ "patch: Record<string>"
1135
+ ],
1136
+ "returns": "void"
1137
+ }
1138
+ ],
1139
+ "tenant": {
1140
+ "scoped": true,
1141
+ "mode": "optional",
1142
+ "field": "tenantId"
1143
+ },
983
1144
  "surfaces": [
984
1145
  {
985
1146
  "kind": "api",
@@ -1043,6 +1204,25 @@
1043
1204
  "findOpenByThreadKey",
1044
1205
  "findQueue"
1045
1206
  ],
1207
+ "methodSignatures": [
1208
+ {
1209
+ "name": "findOpenByThreadKey",
1210
+ "async": true,
1211
+ "params": [
1212
+ "threadKey: string",
1213
+ "options?: object"
1214
+ ],
1215
+ "returns": "Promise<SupportCase | null>"
1216
+ },
1217
+ {
1218
+ "name": "findQueue",
1219
+ "async": true,
1220
+ "params": [
1221
+ "options?: object"
1222
+ ],
1223
+ "returns": "Promise<SupportCase[]>"
1224
+ }
1225
+ ],
1046
1226
  "surfaces": [],
1047
1227
  "relationshipFeatures": [
1048
1228
  "uuidColumns"
@@ -1068,7 +1248,8 @@
1068
1248
  "name": "name",
1069
1249
  "type": "text",
1070
1250
  "required": false,
1071
- "columnType": "TEXT"
1251
+ "columnType": "TEXT",
1252
+ "default": ""
1072
1253
  },
1073
1254
  {
1074
1255
  "name": "bindingKind",
@@ -1155,6 +1336,39 @@
1155
1336
  "setMetadata",
1156
1337
  "setSelfAddresses"
1157
1338
  ],
1339
+ "methodSignatures": [
1340
+ {
1341
+ "name": "getMetadata",
1342
+ "returns": "Record<string>"
1343
+ },
1344
+ {
1345
+ "name": "getSelfAddresses",
1346
+ "returns": "string[]"
1347
+ },
1348
+ {
1349
+ "name": "setMetadata",
1350
+ "params": [
1351
+ "value: Record<string>"
1352
+ ],
1353
+ "returns": "void"
1354
+ },
1355
+ {
1356
+ "name": "setSelfAddresses",
1357
+ "params": [
1358
+ "addresses: string[]"
1359
+ ],
1360
+ "returns": "void"
1361
+ }
1362
+ ],
1363
+ "tenant": {
1364
+ "scoped": true,
1365
+ "mode": "optional",
1366
+ "field": "tenantId"
1367
+ },
1368
+ "conflictColumns": [
1369
+ "target_type",
1370
+ "target_id"
1371
+ ],
1158
1372
  "surfaces": [
1159
1373
  {
1160
1374
  "kind": "api",
@@ -1241,6 +1455,17 @@
1241
1455
  "methods": [
1242
1456
  "findForTarget"
1243
1457
  ],
1458
+ "methodSignatures": [
1459
+ {
1460
+ "name": "findForTarget",
1461
+ "async": true,
1462
+ "params": [
1463
+ "targetType: string",
1464
+ "targetId: string"
1465
+ ],
1466
+ "returns": "Promise<SupportChannelBinding | null>"
1467
+ }
1468
+ ],
1244
1469
  "surfaces": [],
1245
1470
  "relationshipFeatures": [
1246
1471
  "uuidColumns"
@@ -1273,13 +1498,15 @@
1273
1498
  "name": "name",
1274
1499
  "type": "text",
1275
1500
  "required": false,
1276
- "columnType": "TEXT"
1501
+ "columnType": "TEXT",
1502
+ "default": ""
1277
1503
  },
1278
1504
  {
1279
1505
  "name": "hourlyRate",
1280
1506
  "type": "decimal",
1281
1507
  "required": false,
1282
- "columnType": "REAL"
1508
+ "columnType": "REAL",
1509
+ "default": 0
1283
1510
  },
1284
1511
  {
1285
1512
  "name": "currency",
@@ -1326,6 +1553,36 @@
1326
1553
  "isEffectiveAt",
1327
1554
  "setTerms"
1328
1555
  ],
1556
+ "methodSignatures": [
1557
+ {
1558
+ "name": "getTerms",
1559
+ "returns": "Record<string>"
1560
+ },
1561
+ {
1562
+ "name": "isEffectiveAt",
1563
+ "params": [
1564
+ "at?: Date"
1565
+ ],
1566
+ "returns": "boolean"
1567
+ },
1568
+ {
1569
+ "name": "setTerms",
1570
+ "params": [
1571
+ "value: Record<string>"
1572
+ ],
1573
+ "returns": "void"
1574
+ }
1575
+ ],
1576
+ "tenant": {
1577
+ "scoped": true,
1578
+ "mode": "optional",
1579
+ "field": "tenantId"
1580
+ },
1581
+ "conflictColumns": [
1582
+ "tenant_id",
1583
+ "specialist_id",
1584
+ "effective_from"
1585
+ ],
1329
1586
  "surfaces": [
1330
1587
  {
1331
1588
  "kind": "api",
@@ -1387,6 +1644,18 @@
1387
1644
  "methods": [
1388
1645
  "resolveForSpecialist"
1389
1646
  ],
1647
+ "methodSignatures": [
1648
+ {
1649
+ "name": "resolveForSpecialist",
1650
+ "async": true,
1651
+ "params": [
1652
+ "specialistId: string",
1653
+ "at?: Date",
1654
+ "options?: object"
1655
+ ],
1656
+ "returns": "Promise<SupportCompensationPlan | null>"
1657
+ }
1658
+ ],
1390
1659
  "surfaces": [],
1391
1660
  "relationshipFeatures": [
1392
1661
  "uuidColumns"
@@ -1503,6 +1772,27 @@
1503
1772
  "getMetadata",
1504
1773
  "setMetadata"
1505
1774
  ],
1775
+ "methodSignatures": [
1776
+ {
1777
+ "name": "getMetadata",
1778
+ "returns": "Record<string>"
1779
+ },
1780
+ {
1781
+ "name": "setMetadata",
1782
+ "params": [
1783
+ "value: Record<string>"
1784
+ ],
1785
+ "returns": "void"
1786
+ }
1787
+ ],
1788
+ "tenant": {
1789
+ "scoped": true,
1790
+ "mode": "optional",
1791
+ "field": "tenantId"
1792
+ },
1793
+ "conflictColumns": [
1794
+ "source_key"
1795
+ ],
1506
1796
  "surfaces": [
1507
1797
  {
1508
1798
  "kind": "api",
@@ -1567,6 +1857,32 @@
1567
1857
  "bySourceKey",
1568
1858
  "forCase"
1569
1859
  ],
1860
+ "methodSignatures": [
1861
+ {
1862
+ "name": "byRfcMessageId",
1863
+ "async": true,
1864
+ "params": [
1865
+ "rfcMessageId: string"
1866
+ ],
1867
+ "returns": "Promise<SupportInteraction | null>"
1868
+ },
1869
+ {
1870
+ "name": "bySourceKey",
1871
+ "async": true,
1872
+ "params": [
1873
+ "sourceKey: string"
1874
+ ],
1875
+ "returns": "Promise<SupportInteraction | null>"
1876
+ },
1877
+ {
1878
+ "name": "forCase",
1879
+ "async": true,
1880
+ "params": [
1881
+ "caseId: string"
1882
+ ],
1883
+ "returns": "Promise<SupportInteraction[]>"
1884
+ }
1885
+ ],
1570
1886
  "surfaces": [],
1571
1887
  "relationshipFeatures": [
1572
1888
  "uuidColumns"
@@ -1598,7 +1914,8 @@
1598
1914
  "name": "name",
1599
1915
  "type": "text",
1600
1916
  "required": false,
1601
- "columnType": "TEXT"
1917
+ "columnType": "TEXT",
1918
+ "default": ""
1602
1919
  },
1603
1920
  {
1604
1921
  "name": "description",
@@ -1664,7 +1981,8 @@
1664
1981
  "name": "availabilityFeeAmount",
1665
1982
  "type": "decimal",
1666
1983
  "required": false,
1667
- "columnType": "REAL"
1984
+ "columnType": "REAL",
1985
+ "default": 0
1668
1986
  },
1669
1987
  {
1670
1988
  "name": "currency",
@@ -1676,19 +1994,22 @@
1676
1994
  "name": "includedMinutes",
1677
1995
  "type": "integer",
1678
1996
  "required": false,
1679
- "columnType": "INTEGER"
1997
+ "columnType": "INTEGER",
1998
+ "default": 0
1680
1999
  },
1681
2000
  {
1682
2001
  "name": "overageHourlyRate",
1683
2002
  "type": "decimal",
1684
2003
  "required": false,
1685
- "columnType": "REAL"
2004
+ "columnType": "REAL",
2005
+ "default": 0
1686
2006
  },
1687
2007
  {
1688
2008
  "name": "onCallHourlyRate",
1689
2009
  "type": "decimal",
1690
2010
  "required": false,
1691
- "columnType": "REAL"
2011
+ "columnType": "REAL",
2012
+ "default": 0
1692
2013
  },
1693
2014
  {
1694
2015
  "name": "timeApprovalPolicy",
@@ -1732,6 +2053,127 @@
1732
2053
  "snapshotTerms",
1733
2054
  "targetsForSeverity"
1734
2055
  ],
2056
+ "methodSignatures": [
2057
+ {
2058
+ "name": "getChannels",
2059
+ "returns": "string[]"
2060
+ },
2061
+ {
2062
+ "name": "getCoverage",
2063
+ "returns": "CoverageWindow[]"
2064
+ },
2065
+ {
2066
+ "name": "getEscalationPolicy",
2067
+ "returns": "EscalationStep[]"
2068
+ },
2069
+ {
2070
+ "name": "getHolidays",
2071
+ "returns": "string[]"
2072
+ },
2073
+ {
2074
+ "name": "getMetadata",
2075
+ "returns": "Record<string>"
2076
+ },
2077
+ {
2078
+ "name": "getPauseStatuses",
2079
+ "returns": "string[]"
2080
+ },
2081
+ {
2082
+ "name": "getSeverityDefinitions",
2083
+ "returns": "Record<string, SeverityDefinition>"
2084
+ },
2085
+ {
2086
+ "name": "getTargets",
2087
+ "returns": "Record<string, Partial<ServiceTargetMinutes>>"
2088
+ },
2089
+ {
2090
+ "name": "getTimeApprovalPolicy",
2091
+ "returns": "TimeApprovalPolicy"
2092
+ },
2093
+ {
2094
+ "name": "setChannels",
2095
+ "params": [
2096
+ "channels: string[]"
2097
+ ],
2098
+ "returns": "void"
2099
+ },
2100
+ {
2101
+ "name": "setCoverage",
2102
+ "params": [
2103
+ "windows: CoverageWindow[]"
2104
+ ],
2105
+ "returns": "void"
2106
+ },
2107
+ {
2108
+ "name": "setEscalationPolicy",
2109
+ "params": [
2110
+ "steps: EscalationStep[]"
2111
+ ],
2112
+ "returns": "void"
2113
+ },
2114
+ {
2115
+ "name": "setHolidays",
2116
+ "params": [
2117
+ "dates: string[]"
2118
+ ],
2119
+ "returns": "void"
2120
+ },
2121
+ {
2122
+ "name": "setMetadata",
2123
+ "params": [
2124
+ "value: Record<string>"
2125
+ ],
2126
+ "returns": "void"
2127
+ },
2128
+ {
2129
+ "name": "setPauseStatuses",
2130
+ "params": [
2131
+ "statuses: string[]"
2132
+ ],
2133
+ "returns": "void"
2134
+ },
2135
+ {
2136
+ "name": "setSeverityDefinitions",
2137
+ "params": [
2138
+ "defs: Record<string, SeverityDefinition>"
2139
+ ],
2140
+ "returns": "void"
2141
+ },
2142
+ {
2143
+ "name": "setTargets",
2144
+ "params": [
2145
+ "targets: Record<string, Partial<ServiceTargetMinutes>>"
2146
+ ],
2147
+ "returns": "void"
2148
+ },
2149
+ {
2150
+ "name": "setTimeApprovalPolicy",
2151
+ "params": [
2152
+ "policy: TimeApprovalPolicy"
2153
+ ],
2154
+ "returns": "void"
2155
+ },
2156
+ {
2157
+ "name": "snapshotTerms",
2158
+ "returns": "Record<string>"
2159
+ },
2160
+ {
2161
+ "name": "targetsForSeverity",
2162
+ "params": [
2163
+ "severity: string"
2164
+ ],
2165
+ "returns": "ServiceTargetMinutes"
2166
+ }
2167
+ ],
2168
+ "tenant": {
2169
+ "scoped": true,
2170
+ "mode": "optional",
2171
+ "field": "tenantId"
2172
+ },
2173
+ "conflictColumns": [
2174
+ "tenant_id",
2175
+ "plan_key"
2176
+ ],
1735
2177
  "surfaces": [
1736
2178
  {
1737
2179
  "kind": "api",
@@ -1792,6 +2234,16 @@
1792
2234
  "methods": [
1793
2235
  "byPlanKey"
1794
2236
  ],
2237
+ "methodSignatures": [
2238
+ {
2239
+ "name": "byPlanKey",
2240
+ "async": true,
2241
+ "params": [
2242
+ "planKey: string"
2243
+ ],
2244
+ "returns": "Promise<SupportPlan | null>"
2245
+ }
2246
+ ],
1795
2247
  "surfaces": [],
1796
2248
  "relationshipFeatures": [
1797
2249
  "uuidColumns"
@@ -1817,7 +2269,8 @@
1817
2269
  "name": "name",
1818
2270
  "type": "text",
1819
2271
  "required": false,
1820
- "columnType": "TEXT"
2272
+ "columnType": "TEXT",
2273
+ "default": ""
1821
2274
  },
1822
2275
  {
1823
2276
  "name": "planId",
@@ -1878,13 +2331,15 @@
1878
2331
  "name": "confidenceThreshold",
1879
2332
  "type": "decimal",
1880
2333
  "required": false,
1881
- "columnType": "REAL"
2334
+ "columnType": "REAL",
2335
+ "default": 0.7
1882
2336
  },
1883
2337
  {
1884
2338
  "name": "maxAutoAttempts",
1885
2339
  "type": "integer",
1886
2340
  "required": false,
1887
- "columnType": "INTEGER"
2341
+ "columnType": "INTEGER",
2342
+ "default": 1
1888
2343
  },
1889
2344
  {
1890
2345
  "name": "autoSendEmailReplies",
@@ -1929,6 +2384,54 @@
1929
2384
  "setMetadata",
1930
2385
  "setSensitiveCategories"
1931
2386
  ],
2387
+ "methodSignatures": [
2388
+ {
2389
+ "name": "getAllowedTools",
2390
+ "returns": "string[]"
2391
+ },
2392
+ {
2393
+ "name": "getMetadata",
2394
+ "returns": "Record<string>"
2395
+ },
2396
+ {
2397
+ "name": "getSensitiveCategories",
2398
+ "returns": "string[]"
2399
+ },
2400
+ {
2401
+ "name": "scopeRank",
2402
+ "returns": "number"
2403
+ },
2404
+ {
2405
+ "name": "setAllowedTools",
2406
+ "params": [
2407
+ "tools: string[]"
2408
+ ],
2409
+ "returns": "void"
2410
+ },
2411
+ {
2412
+ "name": "setMetadata",
2413
+ "params": [
2414
+ "value: Record<string>"
2415
+ ],
2416
+ "returns": "void"
2417
+ },
2418
+ {
2419
+ "name": "setSensitiveCategories",
2420
+ "params": [
2421
+ "categories: string[]"
2422
+ ],
2423
+ "returns": "void"
2424
+ }
2425
+ ],
2426
+ "tenant": {
2427
+ "scoped": true,
2428
+ "mode": "optional",
2429
+ "field": "tenantId"
2430
+ },
2431
+ "conflictColumns": [
2432
+ "tenant_id",
2433
+ "name"
2434
+ ],
1932
2435
  "surfaces": [
1933
2436
  {
1934
2437
  "kind": "api",
@@ -2014,6 +2517,16 @@
2014
2517
  "methods": [
2015
2518
  "resolveForScope"
2016
2519
  ],
2520
+ "methodSignatures": [
2521
+ {
2522
+ "name": "resolveForScope",
2523
+ "async": true,
2524
+ "params": [
2525
+ "options: object"
2526
+ ],
2527
+ "returns": "Promise<SupportPolicy | null>"
2528
+ }
2529
+ ],
2017
2530
  "surfaces": [],
2018
2531
  "relationshipFeatures": [
2019
2532
  "uuidColumns"
@@ -2052,7 +2565,8 @@
2052
2565
  "name": "cycle",
2053
2566
  "type": "integer",
2054
2567
  "required": false,
2055
- "columnType": "INTEGER"
2568
+ "columnType": "INTEGER",
2569
+ "default": 0
2056
2570
  },
2057
2571
  {
2058
2572
  "name": "severity",
@@ -2064,7 +2578,8 @@
2064
2578
  "name": "baseMinutes",
2065
2579
  "type": "integer",
2066
2580
  "required": false,
2067
- "columnType": "INTEGER"
2581
+ "columnType": "INTEGER",
2582
+ "default": 0
2068
2583
  },
2069
2584
  {
2070
2585
  "name": "startedAt",
@@ -2094,7 +2609,8 @@
2094
2609
  "name": "pausedTotalSeconds",
2095
2610
  "type": "integer",
2096
2611
  "required": false,
2097
- "columnType": "INTEGER"
2612
+ "columnType": "INTEGER",
2613
+ "default": 0
2098
2614
  },
2099
2615
  {
2100
2616
  "name": "satisfiedAt",
@@ -2142,6 +2658,42 @@
2142
2658
  "isRunning",
2143
2659
  "setMetadata"
2144
2660
  ],
2661
+ "methodSignatures": [
2662
+ {
2663
+ "name": "checkAndEscalate",
2664
+ "async": true,
2665
+ "params": [
2666
+ "args?: Record<string>",
2667
+ "_context?: any"
2668
+ ],
2669
+ "returns": "Promise<CheckAndEscalateResult>"
2670
+ },
2671
+ {
2672
+ "name": "getMetadata",
2673
+ "returns": "Record<string>"
2674
+ },
2675
+ {
2676
+ "name": "isRunning",
2677
+ "returns": "boolean"
2678
+ },
2679
+ {
2680
+ "name": "setMetadata",
2681
+ "params": [
2682
+ "value: Record<string>"
2683
+ ],
2684
+ "returns": "void"
2685
+ }
2686
+ ],
2687
+ "tenant": {
2688
+ "scoped": true,
2689
+ "mode": "optional",
2690
+ "field": "tenantId"
2691
+ },
2692
+ "conflictColumns": [
2693
+ "case_id",
2694
+ "target_type",
2695
+ "cycle"
2696
+ ],
2145
2697
  "surfaces": [
2146
2698
  {
2147
2699
  "kind": "api",
@@ -2204,6 +2756,25 @@
2204
2756
  "activeTarget",
2205
2757
  "forCase"
2206
2758
  ],
2759
+ "methodSignatures": [
2760
+ {
2761
+ "name": "activeTarget",
2762
+ "async": true,
2763
+ "params": [
2764
+ "caseId: string",
2765
+ "targetType: ServiceTargetType"
2766
+ ],
2767
+ "returns": "Promise<SupportServiceTarget | null>"
2768
+ },
2769
+ {
2770
+ "name": "forCase",
2771
+ "async": true,
2772
+ "params": [
2773
+ "caseId: string"
2774
+ ],
2775
+ "returns": "Promise<SupportServiceTarget[]>"
2776
+ }
2777
+ ],
2207
2778
  "surfaces": [],
2208
2779
  "relationshipFeatures": [
2209
2780
  "uuidColumns"
@@ -2236,7 +2807,8 @@
2236
2807
  "name": "level",
2237
2808
  "type": "integer",
2238
2809
  "required": false,
2239
- "columnType": "INTEGER"
2810
+ "columnType": "INTEGER",
2811
+ "default": 1
2240
2812
  },
2241
2813
  {
2242
2814
  "name": "reason",
@@ -2330,6 +2902,24 @@
2330
2902
  "getNotifiedProfileIds",
2331
2903
  "setNotifiedProfileIds"
2332
2904
  ],
2905
+ "methodSignatures": [
2906
+ {
2907
+ "name": "getNotifiedProfileIds",
2908
+ "returns": "string[]"
2909
+ },
2910
+ {
2911
+ "name": "setNotifiedProfileIds",
2912
+ "params": [
2913
+ "ids: string[]"
2914
+ ],
2915
+ "returns": "void"
2916
+ }
2917
+ ],
2918
+ "tenant": {
2919
+ "scoped": true,
2920
+ "mode": "optional",
2921
+ "field": "tenantId"
2922
+ },
2333
2923
  "surfaces": [
2334
2924
  {
2335
2925
  "kind": "api",
@@ -2391,6 +2981,16 @@
2391
2981
  "methods": [
2392
2982
  "forCase"
2393
2983
  ],
2984
+ "methodSignatures": [
2985
+ {
2986
+ "name": "forCase",
2987
+ "async": true,
2988
+ "params": [
2989
+ "caseId: string"
2990
+ ],
2991
+ "returns": "Promise<SupportEscalation[]>"
2992
+ }
2993
+ ],
2394
2994
  "surfaces": [],
2395
2995
  "relationshipFeatures": [
2396
2996
  "uuidColumns"
@@ -2437,7 +3037,8 @@
2437
3037
  "name": "amount",
2438
3038
  "type": "decimal",
2439
3039
  "required": false,
2440
- "columnType": "REAL"
3040
+ "columnType": "REAL",
3041
+ "default": 0
2441
3042
  },
2442
3043
  {
2443
3044
  "name": "currency",
@@ -2449,13 +3050,15 @@
2449
3050
  "name": "billableSeconds",
2450
3051
  "type": "integer",
2451
3052
  "required": false,
2452
- "columnType": "INTEGER"
3053
+ "columnType": "INTEGER",
3054
+ "default": 0
2453
3055
  },
2454
3056
  {
2455
3057
  "name": "includedSecondsApplied",
2456
3058
  "type": "integer",
2457
3059
  "required": false,
2458
- "columnType": "INTEGER"
3060
+ "columnType": "INTEGER",
3061
+ "default": 0
2459
3062
  },
2460
3063
  {
2461
3064
  "name": "rateSnapshot",
@@ -2509,6 +3112,27 @@
2509
3112
  "getRateSnapshot",
2510
3113
  "setRateSnapshot"
2511
3114
  ],
3115
+ "methodSignatures": [
3116
+ {
3117
+ "name": "getRateSnapshot",
3118
+ "returns": "Record<string>"
3119
+ },
3120
+ {
3121
+ "name": "setRateSnapshot",
3122
+ "params": [
3123
+ "value: Record<string>"
3124
+ ],
3125
+ "returns": "void"
3126
+ }
3127
+ ],
3128
+ "tenant": {
3129
+ "scoped": true,
3130
+ "mode": "optional",
3131
+ "field": "tenantId"
3132
+ },
3133
+ "conflictColumns": [
3134
+ "time_entry_id"
3135
+ ],
2512
3136
  "surfaces": [
2513
3137
  {
2514
3138
  "kind": "api",
@@ -2571,6 +3195,24 @@
2571
3195
  "forCase",
2572
3196
  "forTimeEntry"
2573
3197
  ],
3198
+ "methodSignatures": [
3199
+ {
3200
+ "name": "forCase",
3201
+ "async": true,
3202
+ "params": [
3203
+ "caseId: string"
3204
+ ],
3205
+ "returns": "Promise<SupportCharge[]>"
3206
+ },
3207
+ {
3208
+ "name": "forTimeEntry",
3209
+ "async": true,
3210
+ "params": [
3211
+ "timeEntryId: string"
3212
+ ],
3213
+ "returns": "Promise<SupportCharge | null>"
3214
+ }
3215
+ ],
2574
3216
  "surfaces": [],
2575
3217
  "relationshipFeatures": [
2576
3218
  "uuidColumns"
@@ -2617,7 +3259,8 @@
2617
3259
  "name": "amount",
2618
3260
  "type": "decimal",
2619
3261
  "required": false,
2620
- "columnType": "REAL"
3262
+ "columnType": "REAL",
3263
+ "default": 0
2621
3264
  },
2622
3265
  {
2623
3266
  "name": "currency",
@@ -2629,7 +3272,8 @@
2629
3272
  "name": "payableSeconds",
2630
3273
  "type": "integer",
2631
3274
  "required": false,
2632
- "columnType": "INTEGER"
3275
+ "columnType": "INTEGER",
3276
+ "default": 0
2633
3277
  },
2634
3278
  {
2635
3279
  "name": "rateSnapshot",
@@ -2683,6 +3327,27 @@
2683
3327
  "getRateSnapshot",
2684
3328
  "setRateSnapshot"
2685
3329
  ],
3330
+ "methodSignatures": [
3331
+ {
3332
+ "name": "getRateSnapshot",
3333
+ "returns": "Record<string>"
3334
+ },
3335
+ {
3336
+ "name": "setRateSnapshot",
3337
+ "params": [
3338
+ "value: Record<string>"
3339
+ ],
3340
+ "returns": "void"
3341
+ }
3342
+ ],
3343
+ "tenant": {
3344
+ "scoped": true,
3345
+ "mode": "optional",
3346
+ "field": "tenantId"
3347
+ },
3348
+ "conflictColumns": [
3349
+ "time_entry_id"
3350
+ ],
2686
3351
  "surfaces": [
2687
3352
  {
2688
3353
  "kind": "api",
@@ -2745,6 +3410,24 @@
2745
3410
  "forSpecialist",
2746
3411
  "forTimeEntry"
2747
3412
  ],
3413
+ "methodSignatures": [
3414
+ {
3415
+ "name": "forSpecialist",
3416
+ "async": true,
3417
+ "params": [
3418
+ "specialistId: string"
3419
+ ],
3420
+ "returns": "Promise<SupportCompensation[]>"
3421
+ },
3422
+ {
3423
+ "name": "forTimeEntry",
3424
+ "async": true,
3425
+ "params": [
3426
+ "timeEntryId: string"
3427
+ ],
3428
+ "returns": "Promise<SupportCompensation | null>"
3429
+ }
3430
+ ],
2748
3431
  "surfaces": [],
2749
3432
  "relationshipFeatures": [
2750
3433
  "uuidColumns"
@@ -2801,13 +3484,15 @@
2801
3484
  "name": "maxConcurrentCases",
2802
3485
  "type": "integer",
2803
3486
  "required": false,
2804
- "columnType": "INTEGER"
3487
+ "columnType": "INTEGER",
3488
+ "default": 10
2805
3489
  },
2806
3490
  {
2807
3491
  "name": "onCallPriority",
2808
3492
  "type": "integer",
2809
3493
  "required": false,
2810
- "columnType": "INTEGER"
3494
+ "columnType": "INTEGER",
3495
+ "default": 0
2811
3496
  },
2812
3497
  {
2813
3498
  "name": "notes",
@@ -2838,6 +3523,43 @@
2838
3523
  "setLanguages",
2839
3524
  "setMetadata"
2840
3525
  ],
3526
+ "methodSignatures": [
3527
+ {
3528
+ "name": "getLanguages",
3529
+ "returns": "string[]"
3530
+ },
3531
+ {
3532
+ "name": "getMetadata",
3533
+ "returns": "Record<string>"
3534
+ },
3535
+ {
3536
+ "name": "isActive",
3537
+ "returns": "boolean"
3538
+ },
3539
+ {
3540
+ "name": "setLanguages",
3541
+ "params": [
3542
+ "languages: string[]"
3543
+ ],
3544
+ "returns": "void"
3545
+ },
3546
+ {
3547
+ "name": "setMetadata",
3548
+ "params": [
3549
+ "value: Record<string>"
3550
+ ],
3551
+ "returns": "void"
3552
+ }
3553
+ ],
3554
+ "tenant": {
3555
+ "scoped": true,
3556
+ "mode": "optional",
3557
+ "field": "tenantId"
3558
+ },
3559
+ "conflictColumns": [
3560
+ "tenant_id",
3561
+ "profile_id"
3562
+ ],
2841
3563
  "surfaces": [
2842
3564
  {
2843
3565
  "kind": "api",
@@ -2924,6 +3646,21 @@
2924
3646
  "byProfile",
2925
3647
  "findActive"
2926
3648
  ],
3649
+ "methodSignatures": [
3650
+ {
3651
+ "name": "byProfile",
3652
+ "async": true,
3653
+ "params": [
3654
+ "profileId: string"
3655
+ ],
3656
+ "returns": "Promise<SupportSpecialist | null>"
3657
+ },
3658
+ {
3659
+ "name": "findActive",
3660
+ "async": true,
3661
+ "returns": "Promise<SupportSpecialist[]>"
3662
+ }
3663
+ ],
2927
3664
  "surfaces": [],
2928
3665
  "relationshipFeatures": [
2929
3666
  "uuidColumns"
@@ -3009,6 +3746,24 @@
3009
3746
  "methods": [
3010
3747
  "isEffectiveAt"
3011
3748
  ],
3749
+ "methodSignatures": [
3750
+ {
3751
+ "name": "isEffectiveAt",
3752
+ "params": [
3753
+ "at?: Date"
3754
+ ],
3755
+ "returns": "boolean"
3756
+ }
3757
+ ],
3758
+ "tenant": {
3759
+ "scoped": true,
3760
+ "mode": "optional",
3761
+ "field": "tenantId"
3762
+ },
3763
+ "conflictColumns": [
3764
+ "specialist_id",
3765
+ "project_id"
3766
+ ],
3012
3767
  "surfaces": [
3013
3768
  {
3014
3769
  "kind": "api",
@@ -3096,6 +3851,24 @@
3096
3851
  "forProject",
3097
3852
  "forSpecialist"
3098
3853
  ],
3854
+ "methodSignatures": [
3855
+ {
3856
+ "name": "forProject",
3857
+ "async": true,
3858
+ "params": [
3859
+ "projectId: string"
3860
+ ],
3861
+ "returns": "Promise<SupportQualification[]>"
3862
+ },
3863
+ {
3864
+ "name": "forSpecialist",
3865
+ "async": true,
3866
+ "params": [
3867
+ "specialistId: string"
3868
+ ],
3869
+ "returns": "Promise<SupportQualification[]>"
3870
+ }
3871
+ ],
3099
3872
  "surfaces": [],
3100
3873
  "relationshipFeatures": [
3101
3874
  "uuidColumns"
@@ -3140,13 +3913,15 @@
3140
3913
  "name": "startMinute",
3141
3914
  "type": "integer",
3142
3915
  "required": false,
3143
- "columnType": "INTEGER"
3916
+ "columnType": "INTEGER",
3917
+ "default": 0
3144
3918
  },
3145
3919
  {
3146
3920
  "name": "endMinute",
3147
3921
  "type": "integer",
3148
3922
  "required": false,
3149
- "columnType": "INTEGER"
3923
+ "columnType": "INTEGER",
3924
+ "default": 0
3150
3925
  },
3151
3926
  {
3152
3927
  "name": "startsAt",
@@ -3177,6 +3952,11 @@
3177
3952
  }
3178
3953
  ],
3179
3954
  "methods": [],
3955
+ "tenant": {
3956
+ "scoped": true,
3957
+ "mode": "optional",
3958
+ "field": "tenantId"
3959
+ },
3180
3960
  "surfaces": [
3181
3961
  {
3182
3962
  "kind": "api",
@@ -3262,6 +4042,16 @@
3262
4042
  "methods": [
3263
4043
  "forSpecialist"
3264
4044
  ],
4045
+ "methodSignatures": [
4046
+ {
4047
+ "name": "forSpecialist",
4048
+ "async": true,
4049
+ "params": [
4050
+ "specialistId: string"
4051
+ ],
4052
+ "returns": "Promise<SupportAvailability[]>"
4053
+ }
4054
+ ],
3265
4055
  "surfaces": [],
3266
4056
  "relationshipFeatures": [
3267
4057
  "uuidColumns"
@@ -3352,6 +4142,29 @@
3352
4142
  "getMetadata",
3353
4143
  "setMetadata"
3354
4144
  ],
4145
+ "methodSignatures": [
4146
+ {
4147
+ "name": "getMetadata",
4148
+ "returns": "Record<string>"
4149
+ },
4150
+ {
4151
+ "name": "setMetadata",
4152
+ "params": [
4153
+ "value: Record<string>"
4154
+ ],
4155
+ "returns": "void"
4156
+ }
4157
+ ],
4158
+ "tenant": {
4159
+ "scoped": true,
4160
+ "mode": "optional",
4161
+ "field": "tenantId"
4162
+ },
4163
+ "conflictColumns": [
4164
+ "case_id",
4165
+ "target_type",
4166
+ "target_id"
4167
+ ],
3355
4168
  "surfaces": [
3356
4169
  {
3357
4170
  "kind": "api",
@@ -3413,6 +4226,16 @@
3413
4226
  "methods": [
3414
4227
  "forCase"
3415
4228
  ],
4229
+ "methodSignatures": [
4230
+ {
4231
+ "name": "forCase",
4232
+ "async": true,
4233
+ "params": [
4234
+ "caseId: string"
4235
+ ],
4236
+ "returns": "Promise<SupportWorkLink[]>"
4237
+ }
4238
+ ],
3416
4239
  "surfaces": [],
3417
4240
  "relationshipFeatures": [
3418
4241
  "uuidColumns"