@lssm/example.locale-jurisdiction-gate 0.0.0-canary-20251217072406 → 0.0.0-canary-20251217080011
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/.turbo/turbo-build$colon$bundle.log +232 -231
- package/.turbo/turbo-build.log +43 -232
- package/CHANGELOG.md +3 -3
- package/dist/contracts/assistant.d.ts +60 -60
- package/dist/entities/models.d.ts +48 -48
- package/dist/events.d.ts +19 -19
- package/package.json +5 -5
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema0 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/contracts/assistant.d.ts
|
|
5
|
-
declare const AssistantAnswerContract:
|
|
5
|
+
declare const AssistantAnswerContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
|
|
6
6
|
envelope: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema0.SchemaModel<{
|
|
8
8
|
traceId: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
locale: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
regulatoryContext: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema0.SchemaModel<{
|
|
18
18
|
jurisdiction: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
region: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
24
24
|
isOptional: true;
|
|
25
25
|
};
|
|
26
26
|
clientType: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
28
28
|
isOptional: true;
|
|
29
29
|
};
|
|
30
30
|
allowedScope: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string]>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
}>;
|
|
35
35
|
isOptional: false;
|
|
36
36
|
};
|
|
37
37
|
kbSnapshotId: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
allowedScope: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string]>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
}>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
question: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
|
-
}>,
|
|
52
|
+
}>, _lssm_lib_schema0.SchemaModel<{
|
|
53
53
|
locale: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
jurisdiction: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
allowedScope: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string]>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
sections: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema0.SchemaModel<{
|
|
67
67
|
heading: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
body: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
}>;
|
|
@@ -77,25 +77,25 @@ declare const AssistantAnswerContract: _lssm_lib_contracts2.ContractSpec<_lssm_l
|
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
citations: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema0.SchemaModel<{
|
|
81
81
|
kbSnapshotId: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
sourceType: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
sourceId: {
|
|
90
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
title: {
|
|
94
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
excerpt: {
|
|
98
|
-
type:
|
|
98
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
}>;
|
|
@@ -103,92 +103,92 @@ declare const AssistantAnswerContract: _lssm_lib_contracts2.ContractSpec<_lssm_l
|
|
|
103
103
|
isOptional: false;
|
|
104
104
|
};
|
|
105
105
|
disclaimers: {
|
|
106
|
-
type:
|
|
106
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
107
107
|
isArray: true;
|
|
108
108
|
isOptional: true;
|
|
109
109
|
};
|
|
110
110
|
riskFlags: {
|
|
111
|
-
type:
|
|
111
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
112
112
|
isArray: true;
|
|
113
113
|
isOptional: true;
|
|
114
114
|
};
|
|
115
115
|
refused: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema0.FieldType<boolean, boolean>;
|
|
117
117
|
isOptional: true;
|
|
118
118
|
};
|
|
119
119
|
refusalReason: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
121
121
|
isOptional: true;
|
|
122
122
|
};
|
|
123
123
|
}>, undefined>;
|
|
124
|
-
declare const AssistantExplainConceptContract:
|
|
124
|
+
declare const AssistantExplainConceptContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
|
|
125
125
|
envelope: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema0.SchemaModel<{
|
|
127
127
|
traceId: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
129
129
|
isOptional: false;
|
|
130
130
|
};
|
|
131
131
|
locale: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
133
133
|
isOptional: false;
|
|
134
134
|
};
|
|
135
135
|
regulatoryContext: {
|
|
136
|
-
type:
|
|
136
|
+
type: _lssm_lib_schema0.SchemaModel<{
|
|
137
137
|
jurisdiction: {
|
|
138
|
-
type:
|
|
138
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
139
139
|
isOptional: false;
|
|
140
140
|
};
|
|
141
141
|
region: {
|
|
142
|
-
type:
|
|
142
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
143
143
|
isOptional: true;
|
|
144
144
|
};
|
|
145
145
|
clientType: {
|
|
146
|
-
type:
|
|
146
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
147
147
|
isOptional: true;
|
|
148
148
|
};
|
|
149
149
|
allowedScope: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string]>;
|
|
151
151
|
isOptional: false;
|
|
152
152
|
};
|
|
153
153
|
}>;
|
|
154
154
|
isOptional: false;
|
|
155
155
|
};
|
|
156
156
|
kbSnapshotId: {
|
|
157
|
-
type:
|
|
157
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
158
158
|
isOptional: false;
|
|
159
159
|
};
|
|
160
160
|
allowedScope: {
|
|
161
|
-
type:
|
|
161
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string]>;
|
|
162
162
|
isOptional: false;
|
|
163
163
|
};
|
|
164
164
|
}>;
|
|
165
165
|
isOptional: false;
|
|
166
166
|
};
|
|
167
167
|
conceptKey: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
169
169
|
isOptional: false;
|
|
170
170
|
};
|
|
171
|
-
}>,
|
|
171
|
+
}>, _lssm_lib_schema0.SchemaModel<{
|
|
172
172
|
locale: {
|
|
173
|
-
type:
|
|
173
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
174
174
|
isOptional: false;
|
|
175
175
|
};
|
|
176
176
|
jurisdiction: {
|
|
177
|
-
type:
|
|
177
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
178
178
|
isOptional: false;
|
|
179
179
|
};
|
|
180
180
|
allowedScope: {
|
|
181
|
-
type:
|
|
181
|
+
type: _lssm_lib_schema0.EnumType<[string, string, string]>;
|
|
182
182
|
isOptional: false;
|
|
183
183
|
};
|
|
184
184
|
sections: {
|
|
185
|
-
type:
|
|
185
|
+
type: _lssm_lib_schema0.SchemaModel<{
|
|
186
186
|
heading: {
|
|
187
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
};
|
|
190
190
|
body: {
|
|
191
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
}>;
|
|
@@ -196,25 +196,25 @@ declare const AssistantExplainConceptContract: _lssm_lib_contracts2.ContractSpec
|
|
|
196
196
|
isOptional: false;
|
|
197
197
|
};
|
|
198
198
|
citations: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema0.SchemaModel<{
|
|
200
200
|
kbSnapshotId: {
|
|
201
|
-
type:
|
|
201
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
202
202
|
isOptional: false;
|
|
203
203
|
};
|
|
204
204
|
sourceType: {
|
|
205
|
-
type:
|
|
205
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
206
206
|
isOptional: false;
|
|
207
207
|
};
|
|
208
208
|
sourceId: {
|
|
209
|
-
type:
|
|
209
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
210
210
|
isOptional: false;
|
|
211
211
|
};
|
|
212
212
|
title: {
|
|
213
|
-
type:
|
|
213
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
214
214
|
isOptional: true;
|
|
215
215
|
};
|
|
216
216
|
excerpt: {
|
|
217
|
-
type:
|
|
217
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
218
218
|
isOptional: true;
|
|
219
219
|
};
|
|
220
220
|
}>;
|
|
@@ -222,21 +222,21 @@ declare const AssistantExplainConceptContract: _lssm_lib_contracts2.ContractSpec
|
|
|
222
222
|
isOptional: false;
|
|
223
223
|
};
|
|
224
224
|
disclaimers: {
|
|
225
|
-
type:
|
|
225
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
226
226
|
isArray: true;
|
|
227
227
|
isOptional: true;
|
|
228
228
|
};
|
|
229
229
|
riskFlags: {
|
|
230
|
-
type:
|
|
230
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
231
231
|
isArray: true;
|
|
232
232
|
isOptional: true;
|
|
233
233
|
};
|
|
234
234
|
refused: {
|
|
235
|
-
type:
|
|
235
|
+
type: _lssm_lib_schema0.FieldType<boolean, boolean>;
|
|
236
236
|
isOptional: true;
|
|
237
237
|
};
|
|
238
238
|
refusalReason: {
|
|
239
|
-
type:
|
|
239
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
240
240
|
isOptional: true;
|
|
241
241
|
};
|
|
242
242
|
}>, undefined>;
|
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema57 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/models.d.ts
|
|
4
|
-
declare const AllowedScopeEnum:
|
|
5
|
-
declare const UserProfileModel:
|
|
4
|
+
declare const AllowedScopeEnum: _lssm_lib_schema57.EnumType<[string, string, string]>;
|
|
5
|
+
declare const UserProfileModel: _lssm_lib_schema57.SchemaModel<{
|
|
6
6
|
preferredLocale: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
8
8
|
isOptional: true;
|
|
9
9
|
};
|
|
10
10
|
residencyCountry: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
12
12
|
isOptional: true;
|
|
13
13
|
};
|
|
14
14
|
taxResidenceCountry: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
16
16
|
isOptional: true;
|
|
17
17
|
};
|
|
18
18
|
clientType: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
20
20
|
isOptional: true;
|
|
21
21
|
};
|
|
22
22
|
}>;
|
|
23
|
-
declare const RegulatoryContextModel:
|
|
23
|
+
declare const RegulatoryContextModel: _lssm_lib_schema57.SchemaModel<{
|
|
24
24
|
jurisdiction: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
region: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
clientType: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
allowedScope: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema57.EnumType<[string, string, string]>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
}>;
|
|
41
|
-
declare const LLMCallEnvelopeModel:
|
|
41
|
+
declare const LLMCallEnvelopeModel: _lssm_lib_schema57.SchemaModel<{
|
|
42
42
|
traceId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
locale: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
regulatoryContext: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema57.SchemaModel<{
|
|
52
52
|
jurisdiction: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
region: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
58
58
|
isOptional: true;
|
|
59
59
|
};
|
|
60
60
|
clientType: {
|
|
61
|
-
type:
|
|
61
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
62
62
|
isOptional: true;
|
|
63
63
|
};
|
|
64
64
|
allowedScope: {
|
|
65
|
-
type:
|
|
65
|
+
type: _lssm_lib_schema57.EnumType<[string, string, string]>;
|
|
66
66
|
isOptional: false;
|
|
67
67
|
};
|
|
68
68
|
}>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
kbSnapshotId: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
allowedScope: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema57.EnumType<[string, string, string]>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
}>;
|
|
80
|
-
declare const AssistantCitationModel:
|
|
80
|
+
declare const AssistantCitationModel: _lssm_lib_schema57.SchemaModel<{
|
|
81
81
|
kbSnapshotId: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
sourceType: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
sourceId: {
|
|
90
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
title: {
|
|
94
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
excerpt: {
|
|
98
|
-
type:
|
|
98
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
}>;
|
|
102
|
-
declare const AssistantAnswerSectionModel:
|
|
102
|
+
declare const AssistantAnswerSectionModel: _lssm_lib_schema57.SchemaModel<{
|
|
103
103
|
heading: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
body: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
}>;
|
|
112
|
-
declare const AssistantAnswerIRModel:
|
|
112
|
+
declare const AssistantAnswerIRModel: _lssm_lib_schema57.SchemaModel<{
|
|
113
113
|
locale: {
|
|
114
|
-
type:
|
|
114
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
115
115
|
isOptional: false;
|
|
116
116
|
};
|
|
117
117
|
jurisdiction: {
|
|
118
|
-
type:
|
|
118
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
allowedScope: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema57.EnumType<[string, string, string]>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
sections: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema57.SchemaModel<{
|
|
127
127
|
heading: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
129
129
|
isOptional: false;
|
|
130
130
|
};
|
|
131
131
|
body: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
133
133
|
isOptional: false;
|
|
134
134
|
};
|
|
135
135
|
}>;
|
|
@@ -137,25 +137,25 @@ declare const AssistantAnswerIRModel: _lssm_lib_schema74.SchemaModel<{
|
|
|
137
137
|
isOptional: false;
|
|
138
138
|
};
|
|
139
139
|
citations: {
|
|
140
|
-
type:
|
|
140
|
+
type: _lssm_lib_schema57.SchemaModel<{
|
|
141
141
|
kbSnapshotId: {
|
|
142
|
-
type:
|
|
142
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
143
143
|
isOptional: false;
|
|
144
144
|
};
|
|
145
145
|
sourceType: {
|
|
146
|
-
type:
|
|
146
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
147
147
|
isOptional: false;
|
|
148
148
|
};
|
|
149
149
|
sourceId: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
151
151
|
isOptional: false;
|
|
152
152
|
};
|
|
153
153
|
title: {
|
|
154
|
-
type:
|
|
154
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
155
155
|
isOptional: true;
|
|
156
156
|
};
|
|
157
157
|
excerpt: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
159
159
|
isOptional: true;
|
|
160
160
|
};
|
|
161
161
|
}>;
|
|
@@ -163,21 +163,21 @@ declare const AssistantAnswerIRModel: _lssm_lib_schema74.SchemaModel<{
|
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
disclaimers: {
|
|
166
|
-
type:
|
|
166
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
167
167
|
isArray: true;
|
|
168
168
|
isOptional: true;
|
|
169
169
|
};
|
|
170
170
|
riskFlags: {
|
|
171
|
-
type:
|
|
171
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
172
172
|
isArray: true;
|
|
173
173
|
isOptional: true;
|
|
174
174
|
};
|
|
175
175
|
refused: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema57.FieldType<boolean, boolean>;
|
|
177
177
|
isOptional: true;
|
|
178
178
|
};
|
|
179
179
|
refusalReason: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema57.FieldType<string, string>;
|
|
181
181
|
isOptional: true;
|
|
182
182
|
};
|
|
183
183
|
}>;
|
package/dist/events.d.ts
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema104 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts1 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/events.d.ts
|
|
5
|
-
declare const AssistantAnswerRequestedEvent:
|
|
5
|
+
declare const AssistantAnswerRequestedEvent: _lssm_lib_contracts1.EventSpec<_lssm_lib_schema104.SchemaModel<{
|
|
6
6
|
traceId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema104.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
locale: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema104.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
jurisdiction: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema104.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
kbSnapshotId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema104.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
allowedScope: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema104.FieldType<string, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
}>>;
|
|
27
|
-
declare const AssistantAnswerBlockedEvent:
|
|
27
|
+
declare const AssistantAnswerBlockedEvent: _lssm_lib_contracts1.EventSpec<_lssm_lib_schema104.SchemaModel<{
|
|
28
28
|
traceId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema104.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
reasonCode: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema104.FieldType<string, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
reason: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema104.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
}>>;
|
|
41
|
-
declare const AssistantAnswerDeliveredEvent:
|
|
41
|
+
declare const AssistantAnswerDeliveredEvent: _lssm_lib_contracts1.EventSpec<_lssm_lib_schema104.SchemaModel<{
|
|
42
42
|
traceId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema104.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
locale: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema104.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
jurisdiction: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema104.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
kbSnapshotId: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema104.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
allowedScope: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema104.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
citationsCount: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema104.FieldType<number, number>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
}>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.locale-jurisdiction-gate",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251217080011",
|
|
4
4
|
"description": "Example: enforce locale + jurisdiction + kbSnapshotId + allowed scope for assistant calls (fail-closed).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"test": "bun test"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
42
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
41
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251217080011",
|
|
42
|
+
"@lssm/lib.schema": "0.0.0-canary-20251217080011",
|
|
43
43
|
"zod": "^4.1.13"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
47
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
46
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251217080011",
|
|
47
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251217080011",
|
|
48
48
|
"tsdown": "^0.17.4",
|
|
49
49
|
"typescript": "^5.9.3"
|
|
50
50
|
},
|