@nxtl/nxtl-types 0.1.11 → 0.2.0

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/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # nxtl-types
2
2
 
3
- TypeScript request/response contracts for every NXTL API endpoint.
3
+ The shared TypeScript source for NXTL API request/response contracts and domain
4
+ models used by the admin applications and plugins.
4
5
 
5
6
  ## Install
6
7
 
@@ -22,7 +23,7 @@ import type {
22
23
  ConversationResult,
23
24
  RequestOf,
24
25
  ResultOf,
25
- } from "@the-next-level-as/nxtl-types";
26
+ } from "@nxtl/nxtl-types";
26
27
 
27
28
  const request: ConversationRequest = {
28
29
  projectId: "abc12345",
@@ -35,3 +36,51 @@ const request: ConversationRequest = {
35
36
  type TransformRequest = RequestOf<"transformation">;
36
37
  type TransformResult = ResultOf<"transformation">;
37
38
  ```
39
+
40
+ ## Contract ownership
41
+
42
+ Define NXTL wire contracts and shared domain models here, then import them with
43
+ `import type` in consuming repositories. Existing public plugin modules may
44
+ re-export these types for compatibility. Keep component props, framework
45
+ adapters, inferred validation types, and application state in their own packages.
46
+
47
+ The Python backend remains the authority for endpoint behavior. When it changes,
48
+ update the corresponding request, response, result union, and `NXTL_ENDPOINTS`
49
+ entry together. Consumer-specific normalized models must be named separately
50
+ from raw API responses.
51
+
52
+ ## Core user journeys (0.2.0)
53
+
54
+ Journey CRUD contracts now represent the Core catalog. Every record contains
55
+ `name` (the stable journey ID), `title`, `parent`, `description`, and
56
+ `toneOfVoice`. The request's `organizationId`/`projectId` supplies tenant scope.
57
+ Persona roots have `parent: null`, `description: null`, and their stored tone.
58
+ Children have a persona ID in `parent`, their exact user need in `description`,
59
+ and `toneOfVoice: null` to inherit the persona's tone. The childless `uj0`
60
+ fallback keeps `description: "placeholder"`.
61
+
62
+ `UserJourneyInput` requires a complete record for upsert. PATCH fields are
63
+ optional; explicit `null` clears a nullable field, while omission preserves it.
64
+ The backend validates the resulting catalog, including root-only parents and
65
+ nonempty child needs. Omitted records in a batch upsert are not deleted.
66
+ `userNeeds` and `businessGoals` are no longer catalog fields. Runtime and
67
+ historical evaluation payloads may retain their separately adapted shapes.
68
+
69
+ Plugin journey and bridge types share the same catalog fields; CMS `_key` and
70
+ optional bridge metadata are adapter-only. Legacy lowercase `toneofvoice` and
71
+ `projectid` are deprecated input aliases and must be normalized before syncing.
72
+
73
+ ## Verify and release
74
+
75
+ ```bash
76
+ npm ci
77
+ npm run typecheck
78
+ npm test
79
+ npm pack
80
+ ```
81
+
82
+ Packing rebuilds declarations and JavaScript so the artifact includes every
83
+ exported module. Publish the shared package before installing consumer changes
84
+ that require the new version. Validate consumers against the same packed artifact
85
+ before release; keep repository manifests on the published package name instead
86
+ of machine-specific paths.
@@ -0,0 +1,241 @@
1
+ import type { AssessmentFilters, AssessmentRoute, AssessmentAlignment, AssessmentStatus, AssessmentEvalReasoning, AssessmentEvalScore, AssessmentDialogueMessage, AssessmentDialogueUserInputMode, AssessmentItem } from "./management.js";
2
+ /** Shared NXTL Admin API and organization domain contracts. */
3
+ import type { ActivatedPluginRecord, Artifact, ArtifactStatisticsResponse, CitationsResponse, DataSource, Entry, EvalIndex, EvalsResponse, EvalsSeriesPoint, Matrix, RevisionResponse, SetMatrixSecondPassRequest, UserJourneyRecord } from "./index.js";
4
+ export type NxtlAssessmentDataSource = DataSource;
5
+ export type IntentResolutionEvalIndex = EvalIndex;
6
+ export interface IntentResolutionAssessmentFeedRequest {
7
+ dataSource?: NxtlAssessmentDataSource;
8
+ endDate?: string;
9
+ id?: string;
10
+ organizationId?: string;
11
+ page?: number;
12
+ pageSize?: number;
13
+ startDate?: string;
14
+ }
15
+ export interface IntentResolutionAssessmentReconciliationRequest {
16
+ episodeId: string;
17
+ reconciled: boolean;
18
+ }
19
+ export type IntentResolutionAssessmentFilters = AssessmentFilters;
20
+ export type IntentResolutionDialogueUserInputMode = AssessmentDialogueUserInputMode;
21
+ export interface IntentResolutionDialogueMessage extends AssessmentDialogueMessage {
22
+ artifact?: IntentResolutionArtifact;
23
+ }
24
+ export interface IntentResolutionArtifact {
25
+ path: string;
26
+ route?: IntentResolutionReadinessRoute | null;
27
+ }
28
+ export type IntentResolutionReadinessAlignment = AssessmentAlignment;
29
+ export type IntentResolutionReadinessRoute = AssessmentRoute;
30
+ export type IntentResolutionStatus = AssessmentStatus;
31
+ export interface IntentResolutionEvalScore extends Omit<AssessmentEvalScore, "formula"> {
32
+ formula: string | null;
33
+ }
34
+ export type IntentResolutionEvalReasoning = AssessmentEvalReasoning;
35
+ /** Assessment after Admin resolves artifact paths and normalizes score formulas. */
36
+ export interface IntentResolutionAssessmentFeedItem extends Omit<AssessmentItem, "artifactPath" | "dialogue" | "evalScores"> {
37
+ artifact: IntentResolutionArtifact | null;
38
+ dialogue: IntentResolutionDialogueMessage[];
39
+ evalScores: Partial<Record<IntentResolutionEvalIndex, IntentResolutionEvalScore>>;
40
+ }
41
+ export interface IntentResolutionAssessmentFeedResponse {
42
+ filters: IntentResolutionAssessmentFilters;
43
+ items: IntentResolutionAssessmentFeedItem[];
44
+ organizationId: string;
45
+ page: number;
46
+ pageSize: number;
47
+ total: number;
48
+ }
49
+ export interface NxtlCredentialFields {
50
+ nxtlOrganizationId: string;
51
+ }
52
+ export interface NxtlCredentialsApiResponse extends NxtlCredentialFields {
53
+ apiKey: string;
54
+ }
55
+ export interface NxtlCredentialsStatus {
56
+ hasCredentials: boolean;
57
+ credentials: NxtlCredentialFields | null;
58
+ }
59
+ export interface RotateNxtlCredentialsResult {
60
+ regenerated: boolean;
61
+ credentials: NxtlCredentialsApiResponse;
62
+ }
63
+ export interface ArtifactTooltipMaps {
64
+ entries: Record<string, string>;
65
+ matrices: Record<string, string>;
66
+ userJourneys: Record<string, string>;
67
+ }
68
+ export interface ArtifactsPageDataResponse {
69
+ artifacts: Artifact[];
70
+ tooltips: ArtifactTooltipMaps;
71
+ }
72
+ export interface ArtifactCampaignDistributionRequest {
73
+ endDate: string;
74
+ organizationId?: string;
75
+ startDate?: string;
76
+ }
77
+ export interface ArtifactCampaignDistributionPoint {
78
+ campaign: string;
79
+ hits: number;
80
+ }
81
+ export interface ArtifactCampaignDistributionRange {
82
+ endDate: string;
83
+ formulaCount: number;
84
+ pointCount: number;
85
+ startDate?: string;
86
+ }
87
+ export interface ArtifactCampaignDistributionResponse {
88
+ range: ArtifactCampaignDistributionRange;
89
+ series: ArtifactCampaignDistributionPoint[];
90
+ }
91
+ export interface ArtifactEntriesDistributionRequest {
92
+ endDate: string;
93
+ organizationId?: string;
94
+ startDate?: string;
95
+ }
96
+ export interface ArtifactEntriesDistributionPoint {
97
+ entry: string;
98
+ hits: number;
99
+ }
100
+ export interface ArtifactEntriesDistributionRange {
101
+ endDate: string;
102
+ formulaCount: number;
103
+ pointCount: number;
104
+ startDate?: string;
105
+ }
106
+ export interface ArtifactEntriesDistributionResponse {
107
+ range: ArtifactEntriesDistributionRange;
108
+ series: ArtifactEntriesDistributionPoint[];
109
+ }
110
+ export type NxtlEvalDataSource = DataSource;
111
+ export type NxtlEvalsSeriesPoint = EvalsSeriesPoint;
112
+ /** Admin normalizes absent simulated evaluation series to an empty array. */
113
+ export interface NxtlEvalsResponse extends EvalsResponse {
114
+ simulatedSeries: EvalsSeriesPoint[];
115
+ }
116
+ export type OrganizationType = "partner" | "standard";
117
+ export type OrganizationAccessSource = "explicit" | "inherited" | "superAdmin";
118
+ export type OrganizationMemberRole = "admin" | "member" | "owner";
119
+ export interface OrganizationAccess {
120
+ effectiveRole: OrganizationMemberRole | null;
121
+ source: OrganizationAccessSource;
122
+ }
123
+ export interface OrganizationParentSummary {
124
+ id: string;
125
+ name: string;
126
+ organizationType: OrganizationType;
127
+ slug: string;
128
+ }
129
+ export interface OrganizationUserSummary {
130
+ email: string;
131
+ id: string;
132
+ image?: string | null;
133
+ name: string;
134
+ role?: string | null;
135
+ }
136
+ export interface OrganizationMemberSummary {
137
+ createdAt: Date | string;
138
+ id: string;
139
+ organizationId: string;
140
+ role: OrganizationMemberRole;
141
+ user: OrganizationUserSummary | null;
142
+ userId: string;
143
+ }
144
+ export interface OrganizationInvitationSummary {
145
+ createdAt: Date | string;
146
+ email: string;
147
+ expiresAt: Date | string;
148
+ id: string;
149
+ inviterId: string;
150
+ organizationId: string;
151
+ role: string | null;
152
+ status: string;
153
+ }
154
+ export interface OrganizationSummary {
155
+ access: OrganizationAccess;
156
+ id: string;
157
+ logo?: string | null;
158
+ name: string;
159
+ organizationType: OrganizationType;
160
+ parentOrganization: OrganizationParentSummary | null;
161
+ parentOrganizationId: string | null;
162
+ slug: string;
163
+ }
164
+ export interface ActiveOrganization extends OrganizationSummary {
165
+ createdAt: Date | string;
166
+ invitations: OrganizationInvitationSummary[];
167
+ metadata?: Record<string, unknown>;
168
+ members: OrganizationMemberSummary[];
169
+ }
170
+ export type OrganizationSetupStepId = "settings" | "billing" | "apiCredentials" | "content" | "insights" | "configuration" | "globalToneOfVoice" | "userJourney";
171
+ export type OrganizationSetupCompletionSource = "derived" | "route";
172
+ export interface OrganizationSetupStatusStep {
173
+ id: OrganizationSetupStepId;
174
+ completed: boolean;
175
+ completedAt: string | null;
176
+ }
177
+ export interface OrganizationSetupStatus {
178
+ organizationId: string;
179
+ isOrganizationAdmin: boolean;
180
+ hasNxtlCredentials: boolean;
181
+ hideGuide: boolean;
182
+ shouldAutoOpenGuide: boolean;
183
+ steps: OrganizationSetupStatusStep[];
184
+ }
185
+ export interface OrganizationSetupStatusInput {
186
+ organizationId?: string;
187
+ }
188
+ export interface OrganizationSetupDismissGuideInput extends OrganizationSetupStatusInput {
189
+ hideGuide: boolean;
190
+ }
191
+ export interface OrganizationSetupMarkStepVisitedInput extends OrganizationSetupStatusInput {
192
+ stepId: OrganizationSetupStepId;
193
+ }
194
+ export interface OrganizationExportCitation extends CitationsResponse {
195
+ entryId: string;
196
+ }
197
+ export interface OrganizationExportArtifactStatistics extends ArtifactStatisticsResponse {
198
+ formula: string;
199
+ }
200
+ export interface NxtlOrganizationDataExport {
201
+ settings: {
202
+ activatedPlugins: ActivatedPluginRecord[];
203
+ domainModel: string;
204
+ fallbackResponse: string;
205
+ globalToneOfVoice: string;
206
+ };
207
+ content: {
208
+ artifacts: Artifact[];
209
+ entries: Entry[];
210
+ matrices: Matrix[];
211
+ userJourneys: UserJourneyRecord[];
212
+ };
213
+ history: {
214
+ revisions: RevisionResponse[];
215
+ };
216
+ analytics: {
217
+ artifactStatistics: OrganizationExportArtifactStatistics[];
218
+ citations: OrganizationExportCitation[];
219
+ evaluations: Record<IntentResolutionEvalIndex, NxtlEvalsResponse>;
220
+ intentResolutionAssessments: IntentResolutionAssessmentFeedResponse;
221
+ usage: number;
222
+ };
223
+ }
224
+ export interface UsageReportResult {
225
+ organizationId: string;
226
+ organizationName: string;
227
+ planId?: string;
228
+ projectId?: string;
229
+ currentUsage?: number;
230
+ usageDelta?: number;
231
+ success: boolean;
232
+ skipped?: boolean;
233
+ reason?: string;
234
+ stripeEventId?: string;
235
+ error?: string;
236
+ }
237
+ /** Required fields and normalized slot-array representation used when saving a matrix. */
238
+ export type MatrixUpdatePayload = Required<Pick<SetMatrixSecondPassRequest, "path" | "summary" | "locked">> & {
239
+ response: Extract<NonNullable<SetMatrixSecondPassRequest["response"]>, unknown[]>;
240
+ };
241
+ //# sourceMappingURL=admin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../src/admin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,uBAAuB,EACvB,mBAAmB,EACnB,yBAAyB,EACzB,+BAA+B,EAC/B,cAAc,EACjB,MAAM,iBAAiB,CAAC;AACzB,+DAA+D;AAC/D,OAAO,KAAK,EACR,qBAAqB,EACrB,QAAQ,EACR,0BAA0B,EAC1B,iBAAiB,EACjB,UAAU,EACV,KAAK,EACL,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,MAAM,EAC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,CAAC,CAClE,GAAG;IACA,QAAQ,EAAE,OAAO,CACb,WAAW,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC,EACnD,OAAO,EAAE,CACZ,CAAC;CACL,CAAC"}
package/dist/admin.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=admin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin.js","sourceRoot":"","sources":["../src/admin.ts"],"names":[],"mappings":""}