@xpert-ai/contracts 3.30.2 → 3.32.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/index.cjs.js +677 -528
- package/index.esm.js +673 -529
- package/package.json +1 -1
- package/src/ai/assistant-template-manifest.model.d.ts +148 -148
- package/src/ai/connection-impact.model.d.ts +37 -0
- package/src/ai/conversation-trail.model.d.ts +2 -2
- package/src/ai/execution-observability.model.d.ts +50 -50
- package/src/ai/index.d.ts +1 -0
- package/src/ai/knowledgebase.model.d.ts +3 -0
- package/src/ai/model-discovery.model.d.ts +1 -0
- package/src/ai/model-replacement.model.d.ts +12 -12
- package/src/ai/run-display-snapshot.model.d.ts +1 -1
- package/src/ai/template-installation.model.d.ts +4 -4
- package/src/analytics-diagnostic.d.ts +53 -0
- package/src/app-platform.d.ts +8 -8
- package/src/business-area-access.model.d.ts +52 -0
- package/src/index.d.ts +2 -0
- package/src/user-notification.schema.d.ts +34 -34
- package/src/view-extension/assistant-profile.d.ts +1 -0
- package/src/view-extension/model.d.ts +1 -0
|
@@ -6,12 +6,12 @@ export declare const announcementActionSchema: z.ZodObject<{
|
|
|
6
6
|
label: z.ZodString;
|
|
7
7
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
8
8
|
}, "strict", z.ZodTypeAny, {
|
|
9
|
-
label?: string;
|
|
10
9
|
type?: "link";
|
|
10
|
+
label?: string;
|
|
11
11
|
url?: string;
|
|
12
12
|
}, {
|
|
13
|
-
label?: string;
|
|
14
13
|
type?: "link";
|
|
14
|
+
label?: string;
|
|
15
15
|
url?: string;
|
|
16
16
|
}>;
|
|
17
17
|
export declare const announcementContentSchema: z.ZodObject<{
|
|
@@ -27,12 +27,12 @@ export declare const announcementContentSchema: z.ZodObject<{
|
|
|
27
27
|
label: z.ZodString;
|
|
28
28
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
29
29
|
}, "strict", z.ZodTypeAny, {
|
|
30
|
-
label?: string;
|
|
31
30
|
type?: "link";
|
|
31
|
+
label?: string;
|
|
32
32
|
url?: string;
|
|
33
33
|
}, {
|
|
34
|
-
label?: string;
|
|
35
34
|
type?: "link";
|
|
35
|
+
label?: string;
|
|
36
36
|
url?: string;
|
|
37
37
|
}>>>;
|
|
38
38
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -40,8 +40,8 @@ export declare const announcementContentSchema: z.ZodObject<{
|
|
|
40
40
|
title?: string;
|
|
41
41
|
expiresAt?: string;
|
|
42
42
|
action?: {
|
|
43
|
-
label?: string;
|
|
44
43
|
type?: "link";
|
|
44
|
+
label?: string;
|
|
45
45
|
url?: string;
|
|
46
46
|
};
|
|
47
47
|
body?: string;
|
|
@@ -53,8 +53,8 @@ export declare const announcementContentSchema: z.ZodObject<{
|
|
|
53
53
|
title?: string;
|
|
54
54
|
expiresAt?: string;
|
|
55
55
|
action?: {
|
|
56
|
-
label?: string;
|
|
57
56
|
type?: "link";
|
|
57
|
+
label?: string;
|
|
58
58
|
url?: string;
|
|
59
59
|
};
|
|
60
60
|
body?: string;
|
|
@@ -75,12 +75,12 @@ export declare const createAnnouncementSchema: z.ZodEffects<z.ZodObject<{
|
|
|
75
75
|
label: z.ZodString;
|
|
76
76
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
77
77
|
}, "strict", z.ZodTypeAny, {
|
|
78
|
-
label?: string;
|
|
79
78
|
type?: "link";
|
|
79
|
+
label?: string;
|
|
80
80
|
url?: string;
|
|
81
81
|
}, {
|
|
82
|
-
label?: string;
|
|
83
82
|
type?: "link";
|
|
83
|
+
label?: string;
|
|
84
84
|
url?: string;
|
|
85
85
|
}>>>;
|
|
86
86
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -88,8 +88,8 @@ export declare const createAnnouncementSchema: z.ZodEffects<z.ZodObject<{
|
|
|
88
88
|
title?: string;
|
|
89
89
|
expiresAt?: string;
|
|
90
90
|
action?: {
|
|
91
|
-
label?: string;
|
|
92
91
|
type?: "link";
|
|
92
|
+
label?: string;
|
|
93
93
|
url?: string;
|
|
94
94
|
};
|
|
95
95
|
body?: string;
|
|
@@ -101,8 +101,8 @@ export declare const createAnnouncementSchema: z.ZodEffects<z.ZodObject<{
|
|
|
101
101
|
title?: string;
|
|
102
102
|
expiresAt?: string;
|
|
103
103
|
action?: {
|
|
104
|
-
label?: string;
|
|
105
104
|
type?: "link";
|
|
105
|
+
label?: string;
|
|
106
106
|
url?: string;
|
|
107
107
|
};
|
|
108
108
|
body?: string;
|
|
@@ -114,8 +114,8 @@ export declare const createAnnouncementSchema: z.ZodEffects<z.ZodObject<{
|
|
|
114
114
|
title?: string;
|
|
115
115
|
expiresAt?: string;
|
|
116
116
|
action?: {
|
|
117
|
-
label?: string;
|
|
118
117
|
type?: "link";
|
|
118
|
+
label?: string;
|
|
119
119
|
url?: string;
|
|
120
120
|
};
|
|
121
121
|
body?: string;
|
|
@@ -127,8 +127,8 @@ export declare const createAnnouncementSchema: z.ZodEffects<z.ZodObject<{
|
|
|
127
127
|
title?: string;
|
|
128
128
|
expiresAt?: string;
|
|
129
129
|
action?: {
|
|
130
|
-
label?: string;
|
|
131
130
|
type?: "link";
|
|
131
|
+
label?: string;
|
|
132
132
|
url?: string;
|
|
133
133
|
};
|
|
134
134
|
body?: string;
|
|
@@ -149,12 +149,12 @@ export declare const updateAnnouncementSchema: z.ZodEffects<z.ZodObject<{
|
|
|
149
149
|
label: z.ZodString;
|
|
150
150
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
151
151
|
}, "strict", z.ZodTypeAny, {
|
|
152
|
-
label?: string;
|
|
153
152
|
type?: "link";
|
|
153
|
+
label?: string;
|
|
154
154
|
url?: string;
|
|
155
155
|
}, {
|
|
156
|
-
label?: string;
|
|
157
156
|
type?: "link";
|
|
157
|
+
label?: string;
|
|
158
158
|
url?: string;
|
|
159
159
|
}>>>;
|
|
160
160
|
} & {
|
|
@@ -165,8 +165,8 @@ export declare const updateAnnouncementSchema: z.ZodEffects<z.ZodObject<{
|
|
|
165
165
|
title?: string;
|
|
166
166
|
expiresAt?: string;
|
|
167
167
|
action?: {
|
|
168
|
-
label?: string;
|
|
169
168
|
type?: "link";
|
|
169
|
+
label?: string;
|
|
170
170
|
url?: string;
|
|
171
171
|
};
|
|
172
172
|
body?: string;
|
|
@@ -179,8 +179,8 @@ export declare const updateAnnouncementSchema: z.ZodEffects<z.ZodObject<{
|
|
|
179
179
|
title?: string;
|
|
180
180
|
expiresAt?: string;
|
|
181
181
|
action?: {
|
|
182
|
-
label?: string;
|
|
183
182
|
type?: "link";
|
|
183
|
+
label?: string;
|
|
184
184
|
url?: string;
|
|
185
185
|
};
|
|
186
186
|
body?: string;
|
|
@@ -193,8 +193,8 @@ export declare const updateAnnouncementSchema: z.ZodEffects<z.ZodObject<{
|
|
|
193
193
|
title?: string;
|
|
194
194
|
expiresAt?: string;
|
|
195
195
|
action?: {
|
|
196
|
-
label?: string;
|
|
197
196
|
type?: "link";
|
|
197
|
+
label?: string;
|
|
198
198
|
url?: string;
|
|
199
199
|
};
|
|
200
200
|
body?: string;
|
|
@@ -207,8 +207,8 @@ export declare const updateAnnouncementSchema: z.ZodEffects<z.ZodObject<{
|
|
|
207
207
|
title?: string;
|
|
208
208
|
expiresAt?: string;
|
|
209
209
|
action?: {
|
|
210
|
-
label?: string;
|
|
211
210
|
type?: "link";
|
|
211
|
+
label?: string;
|
|
212
212
|
url?: string;
|
|
213
213
|
};
|
|
214
214
|
body?: string;
|
|
@@ -236,12 +236,12 @@ export declare const announcementSchema: z.ZodObject<{
|
|
|
236
236
|
label: z.ZodString;
|
|
237
237
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
238
238
|
}, "strict", z.ZodTypeAny, {
|
|
239
|
-
label?: string;
|
|
240
239
|
type?: "link";
|
|
240
|
+
label?: string;
|
|
241
241
|
url?: string;
|
|
242
242
|
}, {
|
|
243
|
-
label?: string;
|
|
244
243
|
type?: "link";
|
|
244
|
+
label?: string;
|
|
245
245
|
url?: string;
|
|
246
246
|
}>>>;
|
|
247
247
|
} & {
|
|
@@ -259,8 +259,8 @@ export declare const announcementSchema: z.ZodObject<{
|
|
|
259
259
|
title?: string;
|
|
260
260
|
expiresAt?: string;
|
|
261
261
|
action?: {
|
|
262
|
-
label?: string;
|
|
263
262
|
type?: "link";
|
|
263
|
+
label?: string;
|
|
264
264
|
url?: string;
|
|
265
265
|
};
|
|
266
266
|
body?: string;
|
|
@@ -277,8 +277,8 @@ export declare const announcementSchema: z.ZodObject<{
|
|
|
277
277
|
title?: string;
|
|
278
278
|
expiresAt?: string;
|
|
279
279
|
action?: {
|
|
280
|
-
label?: string;
|
|
281
280
|
type?: "link";
|
|
281
|
+
label?: string;
|
|
282
282
|
url?: string;
|
|
283
283
|
};
|
|
284
284
|
body?: string;
|
|
@@ -353,7 +353,6 @@ export declare const userNotificationSchema: z.ZodObject<{
|
|
|
353
353
|
}, "strict", z.ZodTypeAny, {
|
|
354
354
|
id?: string;
|
|
355
355
|
kind?: "agent.completed";
|
|
356
|
-
createdAt?: string;
|
|
357
356
|
source?: {
|
|
358
357
|
type?: "scheduled_task";
|
|
359
358
|
conversationId?: string;
|
|
@@ -361,6 +360,7 @@ export declare const userNotificationSchema: z.ZodObject<{
|
|
|
361
360
|
taskId?: string;
|
|
362
361
|
assistantId?: string;
|
|
363
362
|
};
|
|
363
|
+
createdAt?: string;
|
|
364
364
|
action?: {
|
|
365
365
|
type?: "open_conversation";
|
|
366
366
|
conversationId?: string;
|
|
@@ -371,7 +371,6 @@ export declare const userNotificationSchema: z.ZodObject<{
|
|
|
371
371
|
}, {
|
|
372
372
|
id?: string;
|
|
373
373
|
kind?: "agent.completed";
|
|
374
|
-
createdAt?: string;
|
|
375
374
|
source?: {
|
|
376
375
|
type?: "scheduled_task";
|
|
377
376
|
conversationId?: string;
|
|
@@ -379,6 +378,7 @@ export declare const userNotificationSchema: z.ZodObject<{
|
|
|
379
378
|
taskId?: string;
|
|
380
379
|
assistantId?: string;
|
|
381
380
|
};
|
|
381
|
+
createdAt?: string;
|
|
382
382
|
action?: {
|
|
383
383
|
type?: "open_conversation";
|
|
384
384
|
conversationId?: string;
|
|
@@ -407,12 +407,12 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
|
|
|
407
407
|
label: z.ZodString;
|
|
408
408
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
409
409
|
}, "strict", z.ZodTypeAny, {
|
|
410
|
-
label?: string;
|
|
411
410
|
type?: "link";
|
|
411
|
+
label?: string;
|
|
412
412
|
url?: string;
|
|
413
413
|
}, {
|
|
414
|
-
label?: string;
|
|
415
414
|
type?: "link";
|
|
415
|
+
label?: string;
|
|
416
416
|
url?: string;
|
|
417
417
|
}>>>;
|
|
418
418
|
} & {
|
|
@@ -430,8 +430,8 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
|
|
|
430
430
|
title?: string;
|
|
431
431
|
expiresAt?: string;
|
|
432
432
|
action?: {
|
|
433
|
-
label?: string;
|
|
434
433
|
type?: "link";
|
|
434
|
+
label?: string;
|
|
435
435
|
url?: string;
|
|
436
436
|
};
|
|
437
437
|
body?: string;
|
|
@@ -448,8 +448,8 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
|
|
|
448
448
|
title?: string;
|
|
449
449
|
expiresAt?: string;
|
|
450
450
|
action?: {
|
|
451
|
-
label?: string;
|
|
452
451
|
type?: "link";
|
|
452
|
+
label?: string;
|
|
453
453
|
url?: string;
|
|
454
454
|
};
|
|
455
455
|
body?: string;
|
|
@@ -501,7 +501,6 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
|
|
|
501
501
|
}, "strict", z.ZodTypeAny, {
|
|
502
502
|
id?: string;
|
|
503
503
|
kind?: "agent.completed";
|
|
504
|
-
createdAt?: string;
|
|
505
504
|
source?: {
|
|
506
505
|
type?: "scheduled_task";
|
|
507
506
|
conversationId?: string;
|
|
@@ -509,6 +508,7 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
|
|
|
509
508
|
taskId?: string;
|
|
510
509
|
assistantId?: string;
|
|
511
510
|
};
|
|
511
|
+
createdAt?: string;
|
|
512
512
|
action?: {
|
|
513
513
|
type?: "open_conversation";
|
|
514
514
|
conversationId?: string;
|
|
@@ -519,7 +519,6 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
|
|
|
519
519
|
}, {
|
|
520
520
|
id?: string;
|
|
521
521
|
kind?: "agent.completed";
|
|
522
|
-
createdAt?: string;
|
|
523
522
|
source?: {
|
|
524
523
|
type?: "scheduled_task";
|
|
525
524
|
conversationId?: string;
|
|
@@ -527,6 +526,7 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
|
|
|
527
526
|
taskId?: string;
|
|
528
527
|
assistantId?: string;
|
|
529
528
|
};
|
|
529
|
+
createdAt?: string;
|
|
530
530
|
action?: {
|
|
531
531
|
type?: "open_conversation";
|
|
532
532
|
conversationId?: string;
|
|
@@ -549,8 +549,8 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
|
|
|
549
549
|
title?: string;
|
|
550
550
|
expiresAt?: string;
|
|
551
551
|
action?: {
|
|
552
|
-
label?: string;
|
|
553
552
|
type?: "link";
|
|
553
|
+
label?: string;
|
|
554
554
|
url?: string;
|
|
555
555
|
};
|
|
556
556
|
body?: string;
|
|
@@ -562,7 +562,6 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
|
|
|
562
562
|
notifications?: {
|
|
563
563
|
id?: string;
|
|
564
564
|
kind?: "agent.completed";
|
|
565
|
-
createdAt?: string;
|
|
566
565
|
source?: {
|
|
567
566
|
type?: "scheduled_task";
|
|
568
567
|
conversationId?: string;
|
|
@@ -570,6 +569,7 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
|
|
|
570
569
|
taskId?: string;
|
|
571
570
|
assistantId?: string;
|
|
572
571
|
};
|
|
572
|
+
createdAt?: string;
|
|
573
573
|
action?: {
|
|
574
574
|
type?: "open_conversation";
|
|
575
575
|
conversationId?: string;
|
|
@@ -592,8 +592,8 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
|
|
|
592
592
|
title?: string;
|
|
593
593
|
expiresAt?: string;
|
|
594
594
|
action?: {
|
|
595
|
-
label?: string;
|
|
596
595
|
type?: "link";
|
|
596
|
+
label?: string;
|
|
597
597
|
url?: string;
|
|
598
598
|
};
|
|
599
599
|
body?: string;
|
|
@@ -605,7 +605,6 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
|
|
|
605
605
|
notifications?: {
|
|
606
606
|
id?: string;
|
|
607
607
|
kind?: "agent.completed";
|
|
608
|
-
createdAt?: string;
|
|
609
608
|
source?: {
|
|
610
609
|
type?: "scheduled_task";
|
|
611
610
|
conversationId?: string;
|
|
@@ -613,6 +612,7 @@ export declare const notificationSnapshotSchema: z.ZodObject<{
|
|
|
613
612
|
taskId?: string;
|
|
614
613
|
assistantId?: string;
|
|
615
614
|
};
|
|
615
|
+
createdAt?: string;
|
|
616
616
|
action?: {
|
|
617
617
|
type?: "open_conversation";
|
|
618
618
|
conversationId?: string;
|
|
@@ -28,6 +28,7 @@ export interface XpertViewHostContext {
|
|
|
28
28
|
hostId: string;
|
|
29
29
|
module?: string;
|
|
30
30
|
route?: string;
|
|
31
|
+
/** Current actor permissions narrowed to the resolved host; never grants additional authority. */
|
|
31
32
|
permissions?: string[];
|
|
32
33
|
locale?: string;
|
|
33
34
|
runtimeScope?: XpertViewRuntimeScope;
|