@lssm/example.locale-jurisdiction-gate 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060804

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.
@@ -0,0 +1,41 @@
1
+
2
+ $ tsdown
3
+ ℹ tsdown v0.17.4 powered by rolldown v1.0.0-beta.53
4
+ ℹ config file: /Users/tboutron/Documents/clients/lssm/monorepo-lssm/packages/contractspec/packages/examples/locale-jurisdiction-gate/tsdown.config.js (unrun)
5
+ ℹ entry: src/events.ts, src/example.ts, src/index.ts, src/locale-jurisdiction-gate.feature.ts, src/contracts/assistant.ts, src/contracts/index.ts, src/docs/index.ts, src/docs/locale-jurisdiction-gate.docblock.ts, src/entities/index.ts, src/entities/models.ts, src/handlers/demo.handlers.ts, src/handlers/index.ts, src/policy/guard.ts, src/policy/index.ts, src/policy/types.ts
6
+ ℹ target: esnext
7
+ ℹ tsconfig: tsconfig.json
8
+ ℹ Build start
9
+ ℹ Cleaning 35 files
10
+ ℹ dist/entities/models.js 2.50 kB │ gzip: 0.74 kB
11
+ ℹ dist/contracts/assistant.js 2.34 kB │ gzip: 0.93 kB
12
+ ℹ dist/events.js 1.69 kB │ gzip: 0.48 kB
13
+ ℹ dist/handlers/demo.handlers.js 1.55 kB │ gzip: 0.69 kB
14
+ ℹ dist/docs/locale-jurisdiction-gate.docblock.js 1.40 kB │ gzip: 0.67 kB
15
+ ℹ dist/index.js 1.34 kB │ gzip: 0.47 kB
16
+ ℹ dist/policy/guard.js 1.18 kB │ gzip: 0.61 kB
17
+ ℹ dist/locale-jurisdiction-gate.feature.js 0.72 kB │ gzip: 0.36 kB
18
+ ℹ dist/example.js 0.67 kB │ gzip: 0.40 kB
19
+ ℹ dist/entities/index.js 0.41 kB │ gzip: 0.19 kB
20
+ ℹ dist/policy/index.js 0.17 kB │ gzip: 0.12 kB
21
+ ℹ dist/contracts/index.js 0.17 kB │ gzip: 0.11 kB
22
+ ℹ dist/handlers/index.js 0.11 kB │ gzip: 0.09 kB
23
+ ℹ dist/docs/index.js 0.05 kB │ gzip: 0.07 kB
24
+ ℹ dist/policy/types.js 0.00 kB │ gzip: 0.02 kB
25
+ ℹ dist/contracts/assistant.d.ts 6.73 kB │ gzip: 0.60 kB
26
+ ℹ dist/entities/models.d.ts 5.05 kB │ gzip: 0.65 kB
27
+ ℹ dist/events.d.ts 1.98 kB │ gzip: 0.35 kB
28
+ ℹ dist/handlers/demo.handlers.d.ts 1.43 kB │ gzip: 0.53 kB
29
+ ℹ dist/index.d.ts 1.37 kB │ gzip: 0.41 kB
30
+ ℹ dist/example.d.ts 1.16 kB │ gzip: 0.47 kB
31
+ ℹ dist/policy/guard.d.ts 0.89 kB │ gzip: 0.40 kB
32
+ ℹ dist/policy/types.d.ts 0.42 kB │ gzip: 0.29 kB
33
+ ℹ dist/entities/index.d.ts 0.36 kB │ gzip: 0.16 kB
34
+ ℹ dist/policy/index.d.ts 0.26 kB │ gzip: 0.14 kB
35
+ ℹ dist/locale-jurisdiction-gate.feature.d.ts 0.23 kB │ gzip: 0.16 kB
36
+ ℹ dist/contracts/index.d.ts 0.16 kB │ gzip: 0.10 kB
37
+ ℹ dist/handlers/index.d.ts 0.15 kB │ gzip: 0.09 kB
38
+ ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
39
+ ℹ dist/docs/locale-jurisdiction-gate.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
40
+ ℹ 30 files, total: 34.50 kB
41
+ ✔ Build complete in 9252ms
@@ -8,21 +8,36 @@
8
8
  ℹ tsconfig: tsconfig.json
9
9
  ℹ Build start
10
10
  ℹ Cleaning 20 files
11
- ℹ dist/entities/models.js 2.50 kB │ gzip: 0.74 kB
12
- ℹ dist/contracts/assistant.js 2.34 kB │ gzip: 0.93 kB
13
- ℹ dist/events.js 1.69 kB │ gzip: 0.48 kB
14
- ℹ dist/handlers/demo.handlers.js 1.55 kB │ gzip: 0.69 kB
15
- ℹ dist/docs/locale-jurisdiction-gate.docblock.js 1.40 kB │ gzip: 0.67 kB
16
- ℹ dist/index.js 1.34 kB │ gzip: 0.47 kB
17
- ℹ dist/policy/guard.js 1.18 kB │ gzip: 0.61 kB
18
- ℹ dist/locale-jurisdiction-gate.feature.js 0.72 kB │ gzip: 0.36 kB
19
- ℹ dist/example.js 0.67 kB │ gzip: 0.40 kB
20
- ℹ dist/entities/index.js 0.41 kB │ gzip: 0.19 kB
21
- ℹ dist/policy/index.js 0.17 kB │ gzip: 0.12 kB
22
- ℹ dist/contracts/index.js 0.17 kB │ gzip: 0.11 kB
23
- ℹ dist/handlers/index.js 0.11 kB │ gzip: 0.09 kB
24
- ℹ dist/docs/index.js 0.05 kB │ gzip: 0.07 kB
25
- ℹ dist/policy/types.js 0.00 kB │ gzip: 0.02 kB
26
- ℹ 15 files, total: 14.30 kB
27
- ✔ Build complete in 82ms
11
+ ℹ dist/entities/models.js 2.50 kB │ gzip: 0.74 kB
12
+ ℹ dist/contracts/assistant.js 2.34 kB │ gzip: 0.93 kB
13
+ ℹ dist/events.js 1.69 kB │ gzip: 0.48 kB
14
+ ℹ dist/handlers/demo.handlers.js 1.55 kB │ gzip: 0.69 kB
15
+ ℹ dist/docs/locale-jurisdiction-gate.docblock.js 1.40 kB │ gzip: 0.67 kB
16
+ ℹ dist/index.js 1.34 kB │ gzip: 0.47 kB
17
+ ℹ dist/policy/guard.js 1.18 kB │ gzip: 0.61 kB
18
+ ℹ dist/locale-jurisdiction-gate.feature.js 0.72 kB │ gzip: 0.36 kB
19
+ ℹ dist/example.js 0.67 kB │ gzip: 0.40 kB
20
+ ℹ dist/entities/index.js 0.41 kB │ gzip: 0.19 kB
21
+ ℹ dist/policy/index.js 0.17 kB │ gzip: 0.12 kB
22
+ ℹ dist/contracts/index.js 0.17 kB │ gzip: 0.11 kB
23
+ ℹ dist/handlers/index.js 0.11 kB │ gzip: 0.09 kB
24
+ ℹ dist/docs/index.js 0.05 kB │ gzip: 0.07 kB
25
+ ℹ dist/policy/types.js 0.00 kB │ gzip: 0.02 kB
26
+ ℹ dist/contracts/assistant.d.ts 6.67 kB │ gzip: 0.60 kB
27
+ ℹ dist/entities/models.d.ts 5.05 kB │ gzip: 0.65 kB
28
+ ℹ dist/events.d.ts 1.99 kB │ gzip: 0.36 kB
29
+ ℹ dist/handlers/demo.handlers.d.ts 1.43 kB │ gzip: 0.53 kB
30
+ ℹ dist/index.d.ts 1.37 kB │ gzip: 0.41 kB
31
+ ℹ dist/example.d.ts 1.16 kB │ gzip: 0.47 kB
32
+ ℹ dist/policy/guard.d.ts 0.89 kB │ gzip: 0.40 kB
33
+ ℹ dist/policy/types.d.ts 0.42 kB │ gzip: 0.29 kB
34
+ ℹ dist/entities/index.d.ts 0.36 kB │ gzip: 0.16 kB
35
+ ℹ dist/policy/index.d.ts 0.26 kB │ gzip: 0.14 kB
36
+ ℹ dist/locale-jurisdiction-gate.feature.d.ts 0.23 kB │ gzip: 0.16 kB
37
+ ℹ dist/contracts/index.d.ts 0.16 kB │ gzip: 0.10 kB
38
+ ℹ dist/handlers/index.d.ts 0.15 kB │ gzip: 0.09 kB
39
+ ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
40
+ ℹ dist/docs/locale-jurisdiction-gate.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
41
+ ℹ 30 files, total: 34.46 kB
42
+ ✔ Build complete in 8621ms
28
43
  $ tsc --noEmit
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lssm/example.locale-jurisdiction-gate
2
2
 
3
- ## 0.0.0-canary-20251217054315
3
+ ## 0.0.0-canary-20251217060804
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -9,29 +9,5 @@
9
9
  ### Patch Changes
10
10
 
11
11
  - Updated dependencies [66a5dfd]
12
- - @lssm/lib.contracts@0.0.0-canary-20251217054315
13
- - @lssm/lib.schema@0.0.0-canary-20251217054315
14
-
15
- ## 1.42.0
16
-
17
- ### Minor Changes
18
-
19
- - 66a5dfd: initial release
20
-
21
- ### Patch Changes
22
-
23
- - Updated dependencies [66a5dfd]
24
- - @lssm/lib.contracts@1.42.0
25
- - @lssm/lib.schema@1.42.0
26
-
27
- ## 0.0.0-canary-20251217053014
28
-
29
- ### Minor Changes
30
-
31
- - 66a5dfd: initial release
32
-
33
- ### Patch Changes
34
-
35
- - Updated dependencies [66a5dfd]
36
- - @lssm/lib.contracts@0.0.0-canary-20251217053014
37
- - @lssm/lib.schema@0.0.0-canary-20251217053014
12
+ - @lssm/lib.contracts@0.0.0-canary-20251217060804
13
+ - @lssm/lib.schema@0.0.0-canary-20251217060804
@@ -0,0 +1,244 @@
1
+ import * as _lssm_lib_contracts2 from "@lssm/lib.contracts";
2
+ import * as _lssm_lib_schema16 from "@lssm/lib.schema";
3
+
4
+ //#region src/contracts/assistant.d.ts
5
+ declare const AssistantAnswerContract: _lssm_lib_contracts2.ContractSpec<_lssm_lib_schema16.SchemaModel<{
6
+ envelope: {
7
+ type: _lssm_lib_schema16.SchemaModel<{
8
+ traceId: {
9
+ type: _lssm_lib_schema16.FieldType<string, string>;
10
+ isOptional: false;
11
+ };
12
+ locale: {
13
+ type: _lssm_lib_schema16.FieldType<string, string>;
14
+ isOptional: false;
15
+ };
16
+ regulatoryContext: {
17
+ type: _lssm_lib_schema16.SchemaModel<{
18
+ jurisdiction: {
19
+ type: _lssm_lib_schema16.FieldType<string, string>;
20
+ isOptional: false;
21
+ };
22
+ region: {
23
+ type: _lssm_lib_schema16.FieldType<string, string>;
24
+ isOptional: true;
25
+ };
26
+ clientType: {
27
+ type: _lssm_lib_schema16.FieldType<string, string>;
28
+ isOptional: true;
29
+ };
30
+ allowedScope: {
31
+ type: _lssm_lib_schema16.EnumType<[string, string, string]>;
32
+ isOptional: false;
33
+ };
34
+ }>;
35
+ isOptional: false;
36
+ };
37
+ kbSnapshotId: {
38
+ type: _lssm_lib_schema16.FieldType<string, string>;
39
+ isOptional: false;
40
+ };
41
+ allowedScope: {
42
+ type: _lssm_lib_schema16.EnumType<[string, string, string]>;
43
+ isOptional: false;
44
+ };
45
+ }>;
46
+ isOptional: false;
47
+ };
48
+ question: {
49
+ type: _lssm_lib_schema16.FieldType<string, string>;
50
+ isOptional: false;
51
+ };
52
+ }>, _lssm_lib_schema16.SchemaModel<{
53
+ locale: {
54
+ type: _lssm_lib_schema16.FieldType<string, string>;
55
+ isOptional: false;
56
+ };
57
+ jurisdiction: {
58
+ type: _lssm_lib_schema16.FieldType<string, string>;
59
+ isOptional: false;
60
+ };
61
+ allowedScope: {
62
+ type: _lssm_lib_schema16.EnumType<[string, string, string]>;
63
+ isOptional: false;
64
+ };
65
+ sections: {
66
+ type: _lssm_lib_schema16.SchemaModel<{
67
+ heading: {
68
+ type: _lssm_lib_schema16.FieldType<string, string>;
69
+ isOptional: false;
70
+ };
71
+ body: {
72
+ type: _lssm_lib_schema16.FieldType<string, string>;
73
+ isOptional: false;
74
+ };
75
+ }>;
76
+ isArray: true;
77
+ isOptional: false;
78
+ };
79
+ citations: {
80
+ type: _lssm_lib_schema16.SchemaModel<{
81
+ kbSnapshotId: {
82
+ type: _lssm_lib_schema16.FieldType<string, string>;
83
+ isOptional: false;
84
+ };
85
+ sourceType: {
86
+ type: _lssm_lib_schema16.FieldType<string, string>;
87
+ isOptional: false;
88
+ };
89
+ sourceId: {
90
+ type: _lssm_lib_schema16.FieldType<string, string>;
91
+ isOptional: false;
92
+ };
93
+ title: {
94
+ type: _lssm_lib_schema16.FieldType<string, string>;
95
+ isOptional: true;
96
+ };
97
+ excerpt: {
98
+ type: _lssm_lib_schema16.FieldType<string, string>;
99
+ isOptional: true;
100
+ };
101
+ }>;
102
+ isArray: true;
103
+ isOptional: false;
104
+ };
105
+ disclaimers: {
106
+ type: _lssm_lib_schema16.FieldType<string, string>;
107
+ isArray: true;
108
+ isOptional: true;
109
+ };
110
+ riskFlags: {
111
+ type: _lssm_lib_schema16.FieldType<string, string>;
112
+ isArray: true;
113
+ isOptional: true;
114
+ };
115
+ refused: {
116
+ type: _lssm_lib_schema16.FieldType<boolean, boolean>;
117
+ isOptional: true;
118
+ };
119
+ refusalReason: {
120
+ type: _lssm_lib_schema16.FieldType<string, string>;
121
+ isOptional: true;
122
+ };
123
+ }>, undefined>;
124
+ declare const AssistantExplainConceptContract: _lssm_lib_contracts2.ContractSpec<_lssm_lib_schema16.SchemaModel<{
125
+ envelope: {
126
+ type: _lssm_lib_schema16.SchemaModel<{
127
+ traceId: {
128
+ type: _lssm_lib_schema16.FieldType<string, string>;
129
+ isOptional: false;
130
+ };
131
+ locale: {
132
+ type: _lssm_lib_schema16.FieldType<string, string>;
133
+ isOptional: false;
134
+ };
135
+ regulatoryContext: {
136
+ type: _lssm_lib_schema16.SchemaModel<{
137
+ jurisdiction: {
138
+ type: _lssm_lib_schema16.FieldType<string, string>;
139
+ isOptional: false;
140
+ };
141
+ region: {
142
+ type: _lssm_lib_schema16.FieldType<string, string>;
143
+ isOptional: true;
144
+ };
145
+ clientType: {
146
+ type: _lssm_lib_schema16.FieldType<string, string>;
147
+ isOptional: true;
148
+ };
149
+ allowedScope: {
150
+ type: _lssm_lib_schema16.EnumType<[string, string, string]>;
151
+ isOptional: false;
152
+ };
153
+ }>;
154
+ isOptional: false;
155
+ };
156
+ kbSnapshotId: {
157
+ type: _lssm_lib_schema16.FieldType<string, string>;
158
+ isOptional: false;
159
+ };
160
+ allowedScope: {
161
+ type: _lssm_lib_schema16.EnumType<[string, string, string]>;
162
+ isOptional: false;
163
+ };
164
+ }>;
165
+ isOptional: false;
166
+ };
167
+ conceptKey: {
168
+ type: _lssm_lib_schema16.FieldType<string, string>;
169
+ isOptional: false;
170
+ };
171
+ }>, _lssm_lib_schema16.SchemaModel<{
172
+ locale: {
173
+ type: _lssm_lib_schema16.FieldType<string, string>;
174
+ isOptional: false;
175
+ };
176
+ jurisdiction: {
177
+ type: _lssm_lib_schema16.FieldType<string, string>;
178
+ isOptional: false;
179
+ };
180
+ allowedScope: {
181
+ type: _lssm_lib_schema16.EnumType<[string, string, string]>;
182
+ isOptional: false;
183
+ };
184
+ sections: {
185
+ type: _lssm_lib_schema16.SchemaModel<{
186
+ heading: {
187
+ type: _lssm_lib_schema16.FieldType<string, string>;
188
+ isOptional: false;
189
+ };
190
+ body: {
191
+ type: _lssm_lib_schema16.FieldType<string, string>;
192
+ isOptional: false;
193
+ };
194
+ }>;
195
+ isArray: true;
196
+ isOptional: false;
197
+ };
198
+ citations: {
199
+ type: _lssm_lib_schema16.SchemaModel<{
200
+ kbSnapshotId: {
201
+ type: _lssm_lib_schema16.FieldType<string, string>;
202
+ isOptional: false;
203
+ };
204
+ sourceType: {
205
+ type: _lssm_lib_schema16.FieldType<string, string>;
206
+ isOptional: false;
207
+ };
208
+ sourceId: {
209
+ type: _lssm_lib_schema16.FieldType<string, string>;
210
+ isOptional: false;
211
+ };
212
+ title: {
213
+ type: _lssm_lib_schema16.FieldType<string, string>;
214
+ isOptional: true;
215
+ };
216
+ excerpt: {
217
+ type: _lssm_lib_schema16.FieldType<string, string>;
218
+ isOptional: true;
219
+ };
220
+ }>;
221
+ isArray: true;
222
+ isOptional: false;
223
+ };
224
+ disclaimers: {
225
+ type: _lssm_lib_schema16.FieldType<string, string>;
226
+ isArray: true;
227
+ isOptional: true;
228
+ };
229
+ riskFlags: {
230
+ type: _lssm_lib_schema16.FieldType<string, string>;
231
+ isArray: true;
232
+ isOptional: true;
233
+ };
234
+ refused: {
235
+ type: _lssm_lib_schema16.FieldType<boolean, boolean>;
236
+ isOptional: true;
237
+ };
238
+ refusalReason: {
239
+ type: _lssm_lib_schema16.FieldType<string, string>;
240
+ isOptional: true;
241
+ };
242
+ }>, undefined>;
243
+ //#endregion
244
+ export { AssistantAnswerContract, AssistantExplainConceptContract };
@@ -0,0 +1,2 @@
1
+ import { AssistantAnswerContract, AssistantExplainConceptContract } from "./assistant.js";
2
+ export { AssistantAnswerContract, AssistantExplainConceptContract };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,2 @@
1
+ import { AllowedScopeEnum, AssistantAnswerIRModel, AssistantAnswerSectionModel, AssistantCitationModel, LLMCallEnvelopeModel, RegulatoryContextModel, UserProfileModel } from "./models.js";
2
+ export { AllowedScopeEnum, AssistantAnswerIRModel, AssistantAnswerSectionModel, AssistantCitationModel, LLMCallEnvelopeModel, RegulatoryContextModel, UserProfileModel };
@@ -0,0 +1,185 @@
1
+ import * as _lssm_lib_schema74 from "@lssm/lib.schema";
2
+
3
+ //#region src/entities/models.d.ts
4
+ declare const AllowedScopeEnum: _lssm_lib_schema74.EnumType<[string, string, string]>;
5
+ declare const UserProfileModel: _lssm_lib_schema74.SchemaModel<{
6
+ preferredLocale: {
7
+ type: _lssm_lib_schema74.FieldType<string, string>;
8
+ isOptional: true;
9
+ };
10
+ residencyCountry: {
11
+ type: _lssm_lib_schema74.FieldType<string, string>;
12
+ isOptional: true;
13
+ };
14
+ taxResidenceCountry: {
15
+ type: _lssm_lib_schema74.FieldType<string, string>;
16
+ isOptional: true;
17
+ };
18
+ clientType: {
19
+ type: _lssm_lib_schema74.FieldType<string, string>;
20
+ isOptional: true;
21
+ };
22
+ }>;
23
+ declare const RegulatoryContextModel: _lssm_lib_schema74.SchemaModel<{
24
+ jurisdiction: {
25
+ type: _lssm_lib_schema74.FieldType<string, string>;
26
+ isOptional: false;
27
+ };
28
+ region: {
29
+ type: _lssm_lib_schema74.FieldType<string, string>;
30
+ isOptional: true;
31
+ };
32
+ clientType: {
33
+ type: _lssm_lib_schema74.FieldType<string, string>;
34
+ isOptional: true;
35
+ };
36
+ allowedScope: {
37
+ type: _lssm_lib_schema74.EnumType<[string, string, string]>;
38
+ isOptional: false;
39
+ };
40
+ }>;
41
+ declare const LLMCallEnvelopeModel: _lssm_lib_schema74.SchemaModel<{
42
+ traceId: {
43
+ type: _lssm_lib_schema74.FieldType<string, string>;
44
+ isOptional: false;
45
+ };
46
+ locale: {
47
+ type: _lssm_lib_schema74.FieldType<string, string>;
48
+ isOptional: false;
49
+ };
50
+ regulatoryContext: {
51
+ type: _lssm_lib_schema74.SchemaModel<{
52
+ jurisdiction: {
53
+ type: _lssm_lib_schema74.FieldType<string, string>;
54
+ isOptional: false;
55
+ };
56
+ region: {
57
+ type: _lssm_lib_schema74.FieldType<string, string>;
58
+ isOptional: true;
59
+ };
60
+ clientType: {
61
+ type: _lssm_lib_schema74.FieldType<string, string>;
62
+ isOptional: true;
63
+ };
64
+ allowedScope: {
65
+ type: _lssm_lib_schema74.EnumType<[string, string, string]>;
66
+ isOptional: false;
67
+ };
68
+ }>;
69
+ isOptional: false;
70
+ };
71
+ kbSnapshotId: {
72
+ type: _lssm_lib_schema74.FieldType<string, string>;
73
+ isOptional: false;
74
+ };
75
+ allowedScope: {
76
+ type: _lssm_lib_schema74.EnumType<[string, string, string]>;
77
+ isOptional: false;
78
+ };
79
+ }>;
80
+ declare const AssistantCitationModel: _lssm_lib_schema74.SchemaModel<{
81
+ kbSnapshotId: {
82
+ type: _lssm_lib_schema74.FieldType<string, string>;
83
+ isOptional: false;
84
+ };
85
+ sourceType: {
86
+ type: _lssm_lib_schema74.FieldType<string, string>;
87
+ isOptional: false;
88
+ };
89
+ sourceId: {
90
+ type: _lssm_lib_schema74.FieldType<string, string>;
91
+ isOptional: false;
92
+ };
93
+ title: {
94
+ type: _lssm_lib_schema74.FieldType<string, string>;
95
+ isOptional: true;
96
+ };
97
+ excerpt: {
98
+ type: _lssm_lib_schema74.FieldType<string, string>;
99
+ isOptional: true;
100
+ };
101
+ }>;
102
+ declare const AssistantAnswerSectionModel: _lssm_lib_schema74.SchemaModel<{
103
+ heading: {
104
+ type: _lssm_lib_schema74.FieldType<string, string>;
105
+ isOptional: false;
106
+ };
107
+ body: {
108
+ type: _lssm_lib_schema74.FieldType<string, string>;
109
+ isOptional: false;
110
+ };
111
+ }>;
112
+ declare const AssistantAnswerIRModel: _lssm_lib_schema74.SchemaModel<{
113
+ locale: {
114
+ type: _lssm_lib_schema74.FieldType<string, string>;
115
+ isOptional: false;
116
+ };
117
+ jurisdiction: {
118
+ type: _lssm_lib_schema74.FieldType<string, string>;
119
+ isOptional: false;
120
+ };
121
+ allowedScope: {
122
+ type: _lssm_lib_schema74.EnumType<[string, string, string]>;
123
+ isOptional: false;
124
+ };
125
+ sections: {
126
+ type: _lssm_lib_schema74.SchemaModel<{
127
+ heading: {
128
+ type: _lssm_lib_schema74.FieldType<string, string>;
129
+ isOptional: false;
130
+ };
131
+ body: {
132
+ type: _lssm_lib_schema74.FieldType<string, string>;
133
+ isOptional: false;
134
+ };
135
+ }>;
136
+ isArray: true;
137
+ isOptional: false;
138
+ };
139
+ citations: {
140
+ type: _lssm_lib_schema74.SchemaModel<{
141
+ kbSnapshotId: {
142
+ type: _lssm_lib_schema74.FieldType<string, string>;
143
+ isOptional: false;
144
+ };
145
+ sourceType: {
146
+ type: _lssm_lib_schema74.FieldType<string, string>;
147
+ isOptional: false;
148
+ };
149
+ sourceId: {
150
+ type: _lssm_lib_schema74.FieldType<string, string>;
151
+ isOptional: false;
152
+ };
153
+ title: {
154
+ type: _lssm_lib_schema74.FieldType<string, string>;
155
+ isOptional: true;
156
+ };
157
+ excerpt: {
158
+ type: _lssm_lib_schema74.FieldType<string, string>;
159
+ isOptional: true;
160
+ };
161
+ }>;
162
+ isArray: true;
163
+ isOptional: false;
164
+ };
165
+ disclaimers: {
166
+ type: _lssm_lib_schema74.FieldType<string, string>;
167
+ isArray: true;
168
+ isOptional: true;
169
+ };
170
+ riskFlags: {
171
+ type: _lssm_lib_schema74.FieldType<string, string>;
172
+ isArray: true;
173
+ isOptional: true;
174
+ };
175
+ refused: {
176
+ type: _lssm_lib_schema74.FieldType<boolean, boolean>;
177
+ isOptional: true;
178
+ };
179
+ refusalReason: {
180
+ type: _lssm_lib_schema74.FieldType<string, string>;
181
+ isOptional: true;
182
+ };
183
+ }>;
184
+ //#endregion
185
+ export { AllowedScopeEnum, AssistantAnswerIRModel, AssistantAnswerSectionModel, AssistantCitationModel, LLMCallEnvelopeModel, RegulatoryContextModel, UserProfileModel };
@@ -0,0 +1,68 @@
1
+ import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
2
+ import * as _lssm_lib_schema0 from "@lssm/lib.schema";
3
+
4
+ //#region src/events.d.ts
5
+ declare const AssistantAnswerRequestedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
6
+ traceId: {
7
+ type: _lssm_lib_schema0.FieldType<string, string>;
8
+ isOptional: false;
9
+ };
10
+ locale: {
11
+ type: _lssm_lib_schema0.FieldType<string, string>;
12
+ isOptional: false;
13
+ };
14
+ jurisdiction: {
15
+ type: _lssm_lib_schema0.FieldType<string, string>;
16
+ isOptional: false;
17
+ };
18
+ kbSnapshotId: {
19
+ type: _lssm_lib_schema0.FieldType<string, string>;
20
+ isOptional: false;
21
+ };
22
+ allowedScope: {
23
+ type: _lssm_lib_schema0.FieldType<string, string>;
24
+ isOptional: false;
25
+ };
26
+ }>>;
27
+ declare const AssistantAnswerBlockedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
28
+ traceId: {
29
+ type: _lssm_lib_schema0.FieldType<string, string>;
30
+ isOptional: false;
31
+ };
32
+ reasonCode: {
33
+ type: _lssm_lib_schema0.FieldType<string, string>;
34
+ isOptional: false;
35
+ };
36
+ reason: {
37
+ type: _lssm_lib_schema0.FieldType<string, string>;
38
+ isOptional: false;
39
+ };
40
+ }>>;
41
+ declare const AssistantAnswerDeliveredEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
42
+ traceId: {
43
+ type: _lssm_lib_schema0.FieldType<string, string>;
44
+ isOptional: false;
45
+ };
46
+ locale: {
47
+ type: _lssm_lib_schema0.FieldType<string, string>;
48
+ isOptional: false;
49
+ };
50
+ jurisdiction: {
51
+ type: _lssm_lib_schema0.FieldType<string, string>;
52
+ isOptional: false;
53
+ };
54
+ kbSnapshotId: {
55
+ type: _lssm_lib_schema0.FieldType<string, string>;
56
+ isOptional: false;
57
+ };
58
+ allowedScope: {
59
+ type: _lssm_lib_schema0.FieldType<string, string>;
60
+ isOptional: false;
61
+ };
62
+ citationsCount: {
63
+ type: _lssm_lib_schema0.FieldType<number, number>;
64
+ isOptional: false;
65
+ };
66
+ }>>;
67
+ //#endregion
68
+ export { AssistantAnswerBlockedEvent, AssistantAnswerDeliveredEvent, AssistantAnswerRequestedEvent };