@lssm/example.locale-jurisdiction-gate 0.0.0-canary-20251217083314 → 0.0.0-canary-20251219202229
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 +288 -232
- package/.turbo/turbo-build.log +289 -43
- package/CHANGELOG.md +3 -3
- package/LICENSE +21 -0
- package/dist/contracts/assistant.d.ts +62 -61
- package/dist/contracts/assistant.d.ts.map +1 -0
- package/dist/contracts/assistant.js +7 -8
- package/dist/contracts/assistant.js.map +1 -0
- package/dist/docs/locale-jurisdiction-gate.docblock.js +2 -1
- package/dist/docs/locale-jurisdiction-gate.docblock.js.map +1 -0
- package/dist/entities/models.d.ts +50 -49
- package/dist/entities/models.d.ts.map +1 -0
- package/dist/entities/models.js +33 -35
- package/dist/entities/models.js.map +1 -0
- package/dist/events.d.ts +21 -20
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +21 -21
- package/dist/events.js.map +1 -0
- package/dist/example.d.ts +2 -1
- package/dist/example.d.ts.map +1 -0
- package/dist/example.js +2 -1
- package/dist/example.js.map +1 -0
- package/dist/handlers/demo.handlers.d.ts +2 -1
- package/dist/handlers/demo.handlers.d.ts.map +1 -0
- package/dist/handlers/demo.handlers.js +2 -1
- package/dist/handlers/demo.handlers.js.map +1 -0
- package/dist/libs/contracts/dist/capabilities/openbanking.js +2 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js.map +1 -0
- package/dist/libs/contracts/dist/contract-registry/schemas.js +2 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js.map +1 -0
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/index.js +2 -6
- package/dist/libs/contracts/dist/docs/meta.docs.js +30 -0
- package/dist/libs/contracts/dist/docs/meta.docs.js.map +1 -0
- package/dist/libs/contracts/dist/docs/presentations.js +2 -1
- package/dist/libs/contracts/dist/docs/presentations.js.map +1 -0
- package/dist/libs/contracts/dist/docs/registry.js +2 -1
- package/dist/libs/contracts/dist/docs/registry.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech-contracts.docs.js +97 -0
- package/dist/libs/contracts/dist/docs/tech-contracts.docs.js.map +1 -0
- package/dist/libs/contracts/dist/events.js +2 -1
- package/dist/libs/contracts/dist/events.js.map +1 -0
- package/dist/libs/contracts/dist/index.js +3 -2
- package/dist/libs/contracts/dist/integrations/contracts.js +65 -66
- package/dist/libs/contracts/dist/integrations/contracts.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +31 -32
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +18 -19
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +32 -33
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +60 -61
- package/dist/libs/contracts/dist/integrations/openbanking/models.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +2 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/mistral.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/powens.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/stripe.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/contracts.js +44 -45
- package/dist/libs/contracts/dist/knowledge/contracts.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +2 -1
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +2 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +2 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +2 -1
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +2 -1
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +2 -1
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js.map +1 -0
- package/dist/libs/contracts/dist/llm/exporters.js +2 -1
- package/dist/libs/contracts/dist/llm/exporters.js.map +1 -0
- package/dist/libs/contracts/dist/onboarding-base.js +22 -23
- package/dist/libs/contracts/dist/onboarding-base.js.map +1 -0
- package/dist/libs/contracts/dist/ownership.js +4 -2
- package/dist/libs/contracts/dist/ownership.js.map +1 -0
- package/dist/libs/contracts/dist/presentations.v2.js +2 -1
- package/dist/libs/contracts/dist/presentations.v2.js.map +1 -0
- package/dist/libs/contracts/dist/regenerator/service.js +2 -1
- package/dist/libs/contracts/dist/regenerator/service.js.map +1 -0
- package/dist/libs/contracts/dist/schema/dist/index.js +3874 -6
- package/dist/libs/contracts/dist/schema/dist/index.js.map +1 -0
- package/dist/libs/contracts/dist/spec.js +2 -1
- package/dist/libs/contracts/dist/spec.js.map +1 -0
- package/dist/libs/schema/dist/index.js +4717 -6
- package/dist/libs/schema/dist/index.js.map +1 -0
- package/dist/locale-jurisdiction-gate.feature.d.ts +2 -1
- package/dist/locale-jurisdiction-gate.feature.d.ts.map +1 -0
- package/dist/locale-jurisdiction-gate.feature.js +2 -1
- package/dist/locale-jurisdiction-gate.feature.js.map +1 -0
- package/dist/policy/guard.d.ts +2 -1
- package/dist/policy/guard.d.ts.map +1 -0
- package/dist/policy/guard.js +2 -1
- package/dist/policy/guard.js.map +1 -0
- package/dist/policy/types.d.ts +2 -1
- package/dist/policy/types.d.ts.map +1 -0
- package/package.json +8 -7
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -39
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/libs/schema/dist/EnumType.js +0 -56
- package/dist/libs/schema/dist/FieldType.js +0 -49
- package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/libs/schema/dist/SchemaModel.js +0 -39
- package/dist/libs/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/schema/dist/entity/index.js +0 -2
- package/dist/libs/schema/dist/entity/types.js +0 -1
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema16 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts2 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/contracts/assistant.d.ts
|
|
5
|
-
declare const AssistantAnswerContract:
|
|
5
|
+
declare const AssistantAnswerContract: _lssm_lib_contracts2.ContractSpec<_lssm_lib_schema16.SchemaModel<{
|
|
6
6
|
envelope: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema16.SchemaModel<{
|
|
8
8
|
traceId: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
locale: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
regulatoryContext: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema16.SchemaModel<{
|
|
18
18
|
jurisdiction: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
region: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
24
24
|
isOptional: true;
|
|
25
25
|
};
|
|
26
26
|
clientType: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
28
28
|
isOptional: true;
|
|
29
29
|
};
|
|
30
30
|
allowedScope: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema16.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_schema16.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
allowedScope: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema16.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_schema16.FieldType<string, string>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
|
-
}>,
|
|
52
|
+
}>, _lssm_lib_schema16.SchemaModel<{
|
|
53
53
|
locale: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
jurisdiction: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
allowedScope: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema16.EnumType<[string, string, string]>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
sections: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema16.SchemaModel<{
|
|
67
67
|
heading: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
body: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
}>;
|
|
@@ -77,25 +77,25 @@ declare const AssistantAnswerContract: _lssm_lib_contracts0.ContractSpec<_lssm_l
|
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
citations: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema16.SchemaModel<{
|
|
81
81
|
kbSnapshotId: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
sourceType: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
sourceId: {
|
|
90
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
title: {
|
|
94
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
excerpt: {
|
|
98
|
-
type:
|
|
98
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
}>;
|
|
@@ -103,92 +103,92 @@ declare const AssistantAnswerContract: _lssm_lib_contracts0.ContractSpec<_lssm_l
|
|
|
103
103
|
isOptional: false;
|
|
104
104
|
};
|
|
105
105
|
disclaimers: {
|
|
106
|
-
type:
|
|
106
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
107
107
|
isArray: true;
|
|
108
108
|
isOptional: true;
|
|
109
109
|
};
|
|
110
110
|
riskFlags: {
|
|
111
|
-
type:
|
|
111
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
112
112
|
isArray: true;
|
|
113
113
|
isOptional: true;
|
|
114
114
|
};
|
|
115
115
|
refused: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema16.FieldType<boolean, boolean>;
|
|
117
117
|
isOptional: true;
|
|
118
118
|
};
|
|
119
119
|
refusalReason: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
121
121
|
isOptional: true;
|
|
122
122
|
};
|
|
123
123
|
}>, undefined>;
|
|
124
|
-
declare const AssistantExplainConceptContract:
|
|
124
|
+
declare const AssistantExplainConceptContract: _lssm_lib_contracts2.ContractSpec<_lssm_lib_schema16.SchemaModel<{
|
|
125
125
|
envelope: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema16.SchemaModel<{
|
|
127
127
|
traceId: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
129
129
|
isOptional: false;
|
|
130
130
|
};
|
|
131
131
|
locale: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
133
133
|
isOptional: false;
|
|
134
134
|
};
|
|
135
135
|
regulatoryContext: {
|
|
136
|
-
type:
|
|
136
|
+
type: _lssm_lib_schema16.SchemaModel<{
|
|
137
137
|
jurisdiction: {
|
|
138
|
-
type:
|
|
138
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
139
139
|
isOptional: false;
|
|
140
140
|
};
|
|
141
141
|
region: {
|
|
142
|
-
type:
|
|
142
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
143
143
|
isOptional: true;
|
|
144
144
|
};
|
|
145
145
|
clientType: {
|
|
146
|
-
type:
|
|
146
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
147
147
|
isOptional: true;
|
|
148
148
|
};
|
|
149
149
|
allowedScope: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema16.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_schema16.FieldType<string, string>;
|
|
158
158
|
isOptional: false;
|
|
159
159
|
};
|
|
160
160
|
allowedScope: {
|
|
161
|
-
type:
|
|
161
|
+
type: _lssm_lib_schema16.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_schema16.FieldType<string, string>;
|
|
169
169
|
isOptional: false;
|
|
170
170
|
};
|
|
171
|
-
}>,
|
|
171
|
+
}>, _lssm_lib_schema16.SchemaModel<{
|
|
172
172
|
locale: {
|
|
173
|
-
type:
|
|
173
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
174
174
|
isOptional: false;
|
|
175
175
|
};
|
|
176
176
|
jurisdiction: {
|
|
177
|
-
type:
|
|
177
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
178
178
|
isOptional: false;
|
|
179
179
|
};
|
|
180
180
|
allowedScope: {
|
|
181
|
-
type:
|
|
181
|
+
type: _lssm_lib_schema16.EnumType<[string, string, string]>;
|
|
182
182
|
isOptional: false;
|
|
183
183
|
};
|
|
184
184
|
sections: {
|
|
185
|
-
type:
|
|
185
|
+
type: _lssm_lib_schema16.SchemaModel<{
|
|
186
186
|
heading: {
|
|
187
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
};
|
|
190
190
|
body: {
|
|
191
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
}>;
|
|
@@ -196,25 +196,25 @@ declare const AssistantExplainConceptContract: _lssm_lib_contracts0.ContractSpec
|
|
|
196
196
|
isOptional: false;
|
|
197
197
|
};
|
|
198
198
|
citations: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema16.SchemaModel<{
|
|
200
200
|
kbSnapshotId: {
|
|
201
|
-
type:
|
|
201
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
202
202
|
isOptional: false;
|
|
203
203
|
};
|
|
204
204
|
sourceType: {
|
|
205
|
-
type:
|
|
205
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
206
206
|
isOptional: false;
|
|
207
207
|
};
|
|
208
208
|
sourceId: {
|
|
209
|
-
type:
|
|
209
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
210
210
|
isOptional: false;
|
|
211
211
|
};
|
|
212
212
|
title: {
|
|
213
|
-
type:
|
|
213
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
214
214
|
isOptional: true;
|
|
215
215
|
};
|
|
216
216
|
excerpt: {
|
|
217
|
-
type:
|
|
217
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
218
218
|
isOptional: true;
|
|
219
219
|
};
|
|
220
220
|
}>;
|
|
@@ -222,23 +222,24 @@ declare const AssistantExplainConceptContract: _lssm_lib_contracts0.ContractSpec
|
|
|
222
222
|
isOptional: false;
|
|
223
223
|
};
|
|
224
224
|
disclaimers: {
|
|
225
|
-
type:
|
|
225
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
226
226
|
isArray: true;
|
|
227
227
|
isOptional: true;
|
|
228
228
|
};
|
|
229
229
|
riskFlags: {
|
|
230
|
-
type:
|
|
230
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
231
231
|
isArray: true;
|
|
232
232
|
isOptional: true;
|
|
233
233
|
};
|
|
234
234
|
refused: {
|
|
235
|
-
type:
|
|
235
|
+
type: _lssm_lib_schema16.FieldType<boolean, boolean>;
|
|
236
236
|
isOptional: true;
|
|
237
237
|
};
|
|
238
238
|
refusalReason: {
|
|
239
|
-
type:
|
|
239
|
+
type: _lssm_lib_schema16.FieldType<string, string>;
|
|
240
240
|
isOptional: true;
|
|
241
241
|
};
|
|
242
242
|
}>, undefined>;
|
|
243
243
|
//#endregion
|
|
244
|
-
export { AssistantAnswerContract, AssistantExplainConceptContract };
|
|
244
|
+
export { AssistantAnswerContract, AssistantExplainConceptContract };
|
|
245
|
+
//# sourceMappingURL=assistant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assistant.d.ts","names":[],"sources":["../../src/contracts/assistant.ts"],"sourcesContent":[],"mappings":";;;;cA0Ba,8CAAuB,gCAAA;;;;QAAvB,IAAA,EAmDX,kBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;QAAA,UAAA,EAAA,KAAA;;;;;;;;;;;UAnDkC,CAAA;UAAA,MAAA,EAAA;;;;;;;;;;;;;;;;;kBAAA,EAAA,KAAA;MAAA,CAAA;MAqDvB,YAAA,EAAA;QAkBX,IAAA,6BAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;;;;;;;;;;;;IAlB0C,IAAA,EArDR,kBAAA,CAAA,SAqDQ,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;QAAA,IAAA,8BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAA/B,sDAA+B,gCAAA;;;;cAkB1C,kBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAlB0C,kBAAA,CAAA"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { defineCommand } from "../libs/contracts/dist/spec.js";
|
|
2
2
|
import "../libs/contracts/dist/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import { defineSchemaModel } from "../libs/schema/dist/SchemaModel.js";
|
|
5
|
-
import "../libs/schema/dist/index.js";
|
|
3
|
+
import { E5, K5 } from "../libs/schema/dist/index.js";
|
|
6
4
|
import { AssistantAnswerIRModel, LLMCallEnvelopeModel } from "../entities/models.js";
|
|
7
5
|
|
|
8
6
|
//#region src/contracts/assistant.ts
|
|
9
|
-
const AssistantQuestionInput =
|
|
7
|
+
const AssistantQuestionInput = K5({
|
|
10
8
|
name: "AssistantQuestionInput",
|
|
11
9
|
description: "Input for assistant calls with mandatory envelope.",
|
|
12
10
|
fields: {
|
|
@@ -15,12 +13,12 @@ const AssistantQuestionInput = defineSchemaModel({
|
|
|
15
13
|
isOptional: false
|
|
16
14
|
},
|
|
17
15
|
question: {
|
|
18
|
-
type:
|
|
16
|
+
type: E5.String_unsecure(),
|
|
19
17
|
isOptional: false
|
|
20
18
|
}
|
|
21
19
|
}
|
|
22
20
|
});
|
|
23
|
-
const AssistantConceptInput =
|
|
21
|
+
const AssistantConceptInput = K5({
|
|
24
22
|
name: "AssistantConceptInput",
|
|
25
23
|
description: "Input for explaining a concept with mandatory envelope.",
|
|
26
24
|
fields: {
|
|
@@ -29,7 +27,7 @@ const AssistantConceptInput = defineSchemaModel({
|
|
|
29
27
|
isOptional: false
|
|
30
28
|
},
|
|
31
29
|
conceptKey: {
|
|
32
|
-
type:
|
|
30
|
+
type: E5.String_unsecure(),
|
|
33
31
|
isOptional: false
|
|
34
32
|
}
|
|
35
33
|
}
|
|
@@ -114,4 +112,5 @@ const AssistantExplainConceptContract = defineCommand({
|
|
|
114
112
|
});
|
|
115
113
|
|
|
116
114
|
//#endregion
|
|
117
|
-
export { AssistantAnswerContract, AssistantExplainConceptContract };
|
|
115
|
+
export { AssistantAnswerContract, AssistantExplainConceptContract };
|
|
116
|
+
//# sourceMappingURL=assistant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assistant.js","names":["defineSchemaModel","ScalarTypeEnum"],"sources":["../../src/contracts/assistant.ts"],"sourcesContent":["import { defineCommand } from '@lssm/lib.contracts';\nimport { ScalarTypeEnum, defineSchemaModel } from '@lssm/lib.schema';\n\nimport {\n AssistantAnswerIRModel,\n LLMCallEnvelopeModel,\n} from '../entities/models';\n\nconst AssistantQuestionInput = defineSchemaModel({\n name: 'AssistantQuestionInput',\n description: 'Input for assistant calls with mandatory envelope.',\n fields: {\n envelope: { type: LLMCallEnvelopeModel, isOptional: false },\n question: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst AssistantConceptInput = defineSchemaModel({\n name: 'AssistantConceptInput',\n description: 'Input for explaining a concept with mandatory envelope.',\n fields: {\n envelope: { type: LLMCallEnvelopeModel, isOptional: false },\n conceptKey: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nexport const AssistantAnswerContract = defineCommand({\n meta: {\n name: 'assistant.answer',\n version: 1,\n stability: 'experimental',\n owners: ['examples'],\n tags: ['assistant', 'policy', 'locale', 'jurisdiction', 'knowledge'],\n description:\n 'Answer a user question using a KB snapshot with strict locale/jurisdiction gating.',\n goal: 'Provide policy-safe answers that cite a KB snapshot or refuse.',\n context:\n 'Called by UI or workflows; must fail-closed if envelope is invalid or citations are missing.',\n },\n io: {\n input: AssistantQuestionInput,\n output: AssistantAnswerIRModel,\n errors: {\n LOCALE_REQUIRED: {\n description: 'Locale is required and must be supported',\n http: 400,\n gqlCode: 'LOCALE_REQUIRED',\n when: 'locale is missing or unsupported',\n },\n JURISDICTION_REQUIRED: {\n description: 'Jurisdiction is required',\n http: 400,\n gqlCode: 'JURISDICTION_REQUIRED',\n when: 'jurisdiction is missing',\n },\n KB_SNAPSHOT_REQUIRED: {\n description: 'KB snapshot id is required',\n http: 400,\n gqlCode: 'KB_SNAPSHOT_REQUIRED',\n when: 'kbSnapshotId is missing',\n },\n CITATIONS_REQUIRED: {\n description: 'Answers must include citations to a KB snapshot',\n http: 422,\n gqlCode: 'CITATIONS_REQUIRED',\n when: 'answer has no citations',\n },\n SCOPE_VIOLATION: {\n description:\n 'Answer violates allowed scope and must be refused/escalated',\n http: 403,\n gqlCode: 'SCOPE_VIOLATION',\n when: 'output includes forbidden content under the given allowedScope',\n },\n },\n },\n policy: { auth: 'user' },\n});\n\nexport const AssistantExplainConceptContract = defineCommand({\n meta: {\n name: 'assistant.explainConcept',\n version: 1,\n stability: 'experimental',\n owners: ['examples'],\n tags: ['assistant', 'policy', 'knowledge', 'concepts'],\n description:\n 'Explain a concept using a KB snapshot with strict locale/jurisdiction gating.',\n goal: 'Explain concepts with citations or refuse.',\n context: 'Same constraints as assistant.answer.',\n },\n io: {\n input: AssistantConceptInput,\n output: AssistantAnswerIRModel,\n errors: AssistantAnswerContract.io.errors,\n },\n policy: { auth: 'user' },\n});\n"],"mappings":";;;;;;AAQA,MAAM,yBAAyBA,GAAkB;CAC/C,MAAM;CACN,aAAa;CACb,QAAQ;EACN,UAAU;GAAE,MAAM;GAAsB,YAAY;GAAO;EAC3D,UAAU;GAAE,MAAMC,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACxE;CACF,CAAC;AAEF,MAAM,wBAAwBD,GAAkB;CAC9C,MAAM;CACN,aAAa;CACb,QAAQ;EACN,UAAU;GAAE,MAAM;GAAsB,YAAY;GAAO;EAC3D,YAAY;GAAE,MAAMC,GAAe,iBAAiB;GAAE,YAAY;GAAO;EAC1E;CACF,CAAC;AAEF,MAAa,0BAA0B,cAAc;CACnD,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,WAAW;EACpB,MAAM;GAAC;GAAa;GAAU;GAAU;GAAgB;GAAY;EACpE,aACE;EACF,MAAM;EACN,SACE;EACH;CACD,IAAI;EACF,OAAO;EACP,QAAQ;EACR,QAAQ;GACN,iBAAiB;IACf,aAAa;IACb,MAAM;IACN,SAAS;IACT,MAAM;IACP;GACD,uBAAuB;IACrB,aAAa;IACb,MAAM;IACN,SAAS;IACT,MAAM;IACP;GACD,sBAAsB;IACpB,aAAa;IACb,MAAM;IACN,SAAS;IACT,MAAM;IACP;GACD,oBAAoB;IAClB,aAAa;IACb,MAAM;IACN,SAAS;IACT,MAAM;IACP;GACD,iBAAiB;IACf,aACE;IACF,MAAM;IACN,SAAS;IACT,MAAM;IACP;GACF;EACF;CACD,QAAQ,EAAE,MAAM,QAAQ;CACzB,CAAC;AAEF,MAAa,kCAAkC,cAAc;CAC3D,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,WAAW;EACpB,MAAM;GAAC;GAAa;GAAU;GAAa;GAAW;EACtD,aACE;EACF,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO;EACP,QAAQ;EACR,QAAQ,wBAAwB,GAAG;EACpC;CACD,QAAQ,EAAE,MAAM,QAAQ;CACzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locale-jurisdiction-gate.docblock.js","names":[],"sources":["../../src/docs/locale-jurisdiction-gate.docblock.ts"],"sourcesContent":["import type { DocBlock } from '@lssm/lib.contracts/docs';\nimport { registerDocBlocks } from '@lssm/lib.contracts/docs';\n\nconst docBlocks: DocBlock[] = [\n {\n id: 'docs.examples.locale-jurisdiction-gate.goal',\n title: 'Locale/Jurisdiction Gate — Goal',\n summary:\n 'Fail-closed gate that forces locale + jurisdiction + kbSnapshotId + allowedScope for assistant calls.',\n kind: 'goal',\n visibility: 'public',\n route: '/docs/examples/locale-jurisdiction-gate/goal',\n tags: ['assistant', 'policy', 'locale', 'jurisdiction', 'knowledge'],\n body: `## Why it matters\n- Forces all assistant behavior to be bound to explicit inputs (no guessing).\n- Requires KB snapshot citations to make answers traceable and regenerable.\n\n## Guardrails\n- Missing locale/jurisdiction/snapshot/scope => refuse (structured).\n- Missing citations => refuse.\n- Scope violations under education_only => refuse/escalate.`,\n },\n {\n id: 'docs.examples.locale-jurisdiction-gate.reference',\n title: 'Locale/Jurisdiction Gate — Reference',\n summary: 'Contracts, models, and events exposed by the gate example.',\n kind: 'reference',\n visibility: 'public',\n route: '/docs/examples/locale-jurisdiction-gate',\n tags: ['assistant', 'policy', 'reference'],\n body: `## Contracts\n- assistant.answer (v1)\n- assistant.explainConcept (v1)\n\n## Models\n- LLMCallEnvelope (locale, regulatoryContext, kbSnapshotId, allowedScope, traceId)\n- AssistantAnswerIR (sections, citations, disclaimers, riskFlags)\n\n## Events\n- assistant.answer.requested\n- assistant.answer.blocked\n- assistant.answer.delivered`,\n },\n];\n\nregisterDocBlocks(docBlocks);\n"],"mappings":";;;;AA6CA,kBA1C8B,CAC5B;CACE,IAAI;CACJ,OAAO;CACP,SACE;CACF,MAAM;CACN,YAAY;CACZ,OAAO;CACP,MAAM;EAAC;EAAa;EAAU;EAAU;EAAgB;EAAY;CACpE,MAAM;;;;;;;;CAQP,EACD;CACE,IAAI;CACJ,OAAO;CACP,SAAS;CACT,MAAM;CACN,YAAY;CACZ,OAAO;CACP,MAAM;EAAC;EAAa;EAAU;EAAY;CAC1C,MAAM;;;;;;;;;;;;CAYP,CACF,CAE2B"}
|
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema74 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_schema74.EnumType<[string, string, string]>;
|
|
5
|
+
declare const UserProfileModel: _lssm_lib_schema74.SchemaModel<{
|
|
6
6
|
preferredLocale: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
8
8
|
isOptional: true;
|
|
9
9
|
};
|
|
10
10
|
residencyCountry: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
12
12
|
isOptional: true;
|
|
13
13
|
};
|
|
14
14
|
taxResidenceCountry: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
16
16
|
isOptional: true;
|
|
17
17
|
};
|
|
18
18
|
clientType: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
20
20
|
isOptional: true;
|
|
21
21
|
};
|
|
22
22
|
}>;
|
|
23
|
-
declare const RegulatoryContextModel:
|
|
23
|
+
declare const RegulatoryContextModel: _lssm_lib_schema74.SchemaModel<{
|
|
24
24
|
jurisdiction: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
region: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
clientType: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
allowedScope: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema74.EnumType<[string, string, string]>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
}>;
|
|
41
|
-
declare const LLMCallEnvelopeModel:
|
|
41
|
+
declare const LLMCallEnvelopeModel: _lssm_lib_schema74.SchemaModel<{
|
|
42
42
|
traceId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
locale: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
regulatoryContext: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema74.SchemaModel<{
|
|
52
52
|
jurisdiction: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
region: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
58
58
|
isOptional: true;
|
|
59
59
|
};
|
|
60
60
|
clientType: {
|
|
61
|
-
type:
|
|
61
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
62
62
|
isOptional: true;
|
|
63
63
|
};
|
|
64
64
|
allowedScope: {
|
|
65
|
-
type:
|
|
65
|
+
type: _lssm_lib_schema74.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_schema74.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
allowedScope: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema74.EnumType<[string, string, string]>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
}>;
|
|
80
|
-
declare const AssistantCitationModel:
|
|
80
|
+
declare const AssistantCitationModel: _lssm_lib_schema74.SchemaModel<{
|
|
81
81
|
kbSnapshotId: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
sourceType: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
sourceId: {
|
|
90
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
title: {
|
|
94
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
excerpt: {
|
|
98
|
-
type:
|
|
98
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
}>;
|
|
102
|
-
declare const AssistantAnswerSectionModel:
|
|
102
|
+
declare const AssistantAnswerSectionModel: _lssm_lib_schema74.SchemaModel<{
|
|
103
103
|
heading: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
body: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
}>;
|
|
112
|
-
declare const AssistantAnswerIRModel:
|
|
112
|
+
declare const AssistantAnswerIRModel: _lssm_lib_schema74.SchemaModel<{
|
|
113
113
|
locale: {
|
|
114
|
-
type:
|
|
114
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
115
115
|
isOptional: false;
|
|
116
116
|
};
|
|
117
117
|
jurisdiction: {
|
|
118
|
-
type:
|
|
118
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
allowedScope: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema74.EnumType<[string, string, string]>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
sections: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema74.SchemaModel<{
|
|
127
127
|
heading: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
129
129
|
isOptional: false;
|
|
130
130
|
};
|
|
131
131
|
body: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
133
133
|
isOptional: false;
|
|
134
134
|
};
|
|
135
135
|
}>;
|
|
@@ -137,25 +137,25 @@ declare const AssistantAnswerIRModel: _lssm_lib_schema57.SchemaModel<{
|
|
|
137
137
|
isOptional: false;
|
|
138
138
|
};
|
|
139
139
|
citations: {
|
|
140
|
-
type:
|
|
140
|
+
type: _lssm_lib_schema74.SchemaModel<{
|
|
141
141
|
kbSnapshotId: {
|
|
142
|
-
type:
|
|
142
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
143
143
|
isOptional: false;
|
|
144
144
|
};
|
|
145
145
|
sourceType: {
|
|
146
|
-
type:
|
|
146
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
147
147
|
isOptional: false;
|
|
148
148
|
};
|
|
149
149
|
sourceId: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
151
151
|
isOptional: false;
|
|
152
152
|
};
|
|
153
153
|
title: {
|
|
154
|
-
type:
|
|
154
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
155
155
|
isOptional: true;
|
|
156
156
|
};
|
|
157
157
|
excerpt: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
159
159
|
isOptional: true;
|
|
160
160
|
};
|
|
161
161
|
}>;
|
|
@@ -163,23 +163,24 @@ declare const AssistantAnswerIRModel: _lssm_lib_schema57.SchemaModel<{
|
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
disclaimers: {
|
|
166
|
-
type:
|
|
166
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
167
167
|
isArray: true;
|
|
168
168
|
isOptional: true;
|
|
169
169
|
};
|
|
170
170
|
riskFlags: {
|
|
171
|
-
type:
|
|
171
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
172
172
|
isArray: true;
|
|
173
173
|
isOptional: true;
|
|
174
174
|
};
|
|
175
175
|
refused: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema74.FieldType<boolean, boolean>;
|
|
177
177
|
isOptional: true;
|
|
178
178
|
};
|
|
179
179
|
refusalReason: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema74.FieldType<string, string>;
|
|
181
181
|
isOptional: true;
|
|
182
182
|
};
|
|
183
183
|
}>;
|
|
184
184
|
//#endregion
|
|
185
|
-
export { AllowedScopeEnum, AssistantAnswerIRModel, AssistantAnswerSectionModel, AssistantCitationModel, LLMCallEnvelopeModel, RegulatoryContextModel, UserProfileModel };
|
|
185
|
+
export { AllowedScopeEnum, AssistantAnswerIRModel, AssistantAnswerSectionModel, AssistantCitationModel, LLMCallEnvelopeModel, RegulatoryContextModel, UserProfileModel };
|
|
186
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","names":[],"sources":["../../src/entities/models.ts"],"sourcesContent":[],"mappings":";;;cAMa,kBAIX,kBAAA,CAJ2B;cAMhB,qCAAgB;;IANhB,IAAA,EAwBX,kBAAA,CAAA,SApBA,CAAA,MAJ2B,EAAA,MAAA,CAAA;IAMhB,UAAA,EAAA,IAkBX;EAAA,CAAA;;;;;EAlB2B,mBAAA,EAAA;IAoBhB,IAAA,8BASX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;gBATiC,IAAA;EAAA,CAAA;AAWnC,CAAA,CAAA;AAWE,cAtBW,sBAsBX,qBAtBiC,WAsBjC,CAAA;;UAbA,kBAAA,CAAA;;;;;;;;IAE+B,IAAA,8BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAapB,UAAA,EAAA,IAAA;EAWX,CAAA;;;;;;AAXiC,cAbtB,oBAasB,qBAbF,WAaE,CAAA;EAatB,OAAA,EAAA;IAOX,IAAA,EAtBA,kBAAA,CAAA,SAsBA,CAAA,MAAA,EAAA,MAAA,CAAA;;;EAPsC,MAAA,EAAA;IAS3B,IAAA,8BA+BX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;;;;kBA/BiC,EAAA;QAAA,IAAA,6BAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;;;;;;;;;;;;;;;cAtBtB,2CAAsB;;UAWjC,kBAAA,CAAA;;;;;;;;;;;;;;;;;;;;cAEW,gDAA2B;;UAOtC,kBAAA,CAAA;;;;;;;;cAEW,2CAAsB;;UA+BjC,kBAAA,CAAA"}
|