@voiceflow/dtos-interact 1.37.0 → 1.38.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/build/cjs/request/any-request.dto.d.ts +105 -33
- package/build/cjs/request/any-request.dto.d.ts.map +1 -1
- package/build/cjs/request/live-agent-handoff-request.dto.d.ts +148 -45
- package/build/cjs/request/live-agent-handoff-request.dto.d.ts.map +1 -1
- package/build/cjs/request/live-agent-handoff-request.dto.js +31 -13
- package/build/cjs/request/live-agent-handoff-request.dto.js.map +1 -1
- package/build/cjs/trace/any.dto.d.ts +10 -10
- package/build/cjs/trace/debug.dto.d.ts +4 -4
- package/build/cjs/trace/text.dto.d.ts +6 -6
- package/build/esm/request/any-request.dto.d.ts +105 -33
- package/build/esm/request/any-request.dto.d.ts.map +1 -1
- package/build/esm/request/live-agent-handoff-request.dto.d.ts +148 -45
- package/build/esm/request/live-agent-handoff-request.dto.d.ts.map +1 -1
- package/build/esm/request/live-agent-handoff-request.dto.js +30 -10
- package/build/esm/request/live-agent-handoff-request.dto.js.map +1 -1
- package/build/esm/trace/any.dto.d.ts +10 -10
- package/build/esm/trace/debug.dto.d.ts +4 -4
- package/build/esm/trace/text.dto.d.ts +6 -6
- package/package.json +2 -2
|
@@ -1435,62 +1435,134 @@ export declare const AnyRequestDTO: z.ZodUnion<[z.ZodObject<{
|
|
|
1435
1435
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1436
1436
|
} & {
|
|
1437
1437
|
type: z.ZodLiteral<"live-agent-handoff">;
|
|
1438
|
-
payload: z.
|
|
1438
|
+
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1439
|
+
type: z.ZodLiteral<"message">;
|
|
1439
1440
|
message: z.ZodString;
|
|
1440
|
-
}, "
|
|
1441
|
+
}, "strict", z.ZodTypeAny, {
|
|
1442
|
+
type: "message";
|
|
1441
1443
|
message: string;
|
|
1442
1444
|
}, {
|
|
1445
|
+
type: "message";
|
|
1443
1446
|
message: string;
|
|
1444
|
-
}>, z.
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1447
|
+
}>, z.ZodObject<{
|
|
1448
|
+
type: z.ZodLiteral<"file_upload">;
|
|
1449
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1450
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1451
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1452
|
+
}, "strip", z.ZodTypeAny, {
|
|
1453
|
+
metadata: Record<string, any>;
|
|
1454
|
+
id?: string | null | undefined;
|
|
1455
|
+
}, {
|
|
1456
|
+
metadata: Record<string, any>;
|
|
1457
|
+
id?: string | null | undefined;
|
|
1458
|
+
}>, "many">;
|
|
1459
|
+
}, "strict", z.ZodTypeAny, {
|
|
1460
|
+
type: "file_upload";
|
|
1461
|
+
files: {
|
|
1462
|
+
metadata: Record<string, any>;
|
|
1463
|
+
id?: string | null | undefined;
|
|
1464
|
+
}[];
|
|
1450
1465
|
}, {
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1466
|
+
type: "file_upload";
|
|
1467
|
+
files: {
|
|
1468
|
+
metadata: Record<string, any>;
|
|
1469
|
+
id?: string | null | undefined;
|
|
1470
|
+
}[];
|
|
1471
|
+
}>, z.ZodObject<{
|
|
1472
|
+
type: z.ZodLiteral<"continue_conversation">;
|
|
1473
|
+
}, "strict", z.ZodTypeAny, {
|
|
1474
|
+
type: "continue_conversation";
|
|
1475
|
+
}, {
|
|
1476
|
+
type: "continue_conversation";
|
|
1477
|
+
}>]>;
|
|
1454
1478
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1455
1479
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1456
1480
|
} & {
|
|
1457
1481
|
type: z.ZodLiteral<"live-agent-handoff">;
|
|
1458
|
-
payload: z.
|
|
1482
|
+
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1483
|
+
type: z.ZodLiteral<"message">;
|
|
1459
1484
|
message: z.ZodString;
|
|
1460
|
-
}, "
|
|
1485
|
+
}, "strict", z.ZodTypeAny, {
|
|
1486
|
+
type: "message";
|
|
1461
1487
|
message: string;
|
|
1462
1488
|
}, {
|
|
1489
|
+
type: "message";
|
|
1463
1490
|
message: string;
|
|
1464
|
-
}>, z.
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1491
|
+
}>, z.ZodObject<{
|
|
1492
|
+
type: z.ZodLiteral<"file_upload">;
|
|
1493
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1494
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1495
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1496
|
+
}, "strip", z.ZodTypeAny, {
|
|
1497
|
+
metadata: Record<string, any>;
|
|
1498
|
+
id?: string | null | undefined;
|
|
1499
|
+
}, {
|
|
1500
|
+
metadata: Record<string, any>;
|
|
1501
|
+
id?: string | null | undefined;
|
|
1502
|
+
}>, "many">;
|
|
1503
|
+
}, "strict", z.ZodTypeAny, {
|
|
1504
|
+
type: "file_upload";
|
|
1505
|
+
files: {
|
|
1506
|
+
metadata: Record<string, any>;
|
|
1507
|
+
id?: string | null | undefined;
|
|
1508
|
+
}[];
|
|
1509
|
+
}, {
|
|
1510
|
+
type: "file_upload";
|
|
1511
|
+
files: {
|
|
1512
|
+
metadata: Record<string, any>;
|
|
1513
|
+
id?: string | null | undefined;
|
|
1514
|
+
}[];
|
|
1515
|
+
}>, z.ZodObject<{
|
|
1516
|
+
type: z.ZodLiteral<"continue_conversation">;
|
|
1517
|
+
}, "strict", z.ZodTypeAny, {
|
|
1518
|
+
type: "continue_conversation";
|
|
1470
1519
|
}, {
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
}>, "many">]>;
|
|
1520
|
+
type: "continue_conversation";
|
|
1521
|
+
}>]>;
|
|
1474
1522
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1475
1523
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
1476
1524
|
} & {
|
|
1477
1525
|
type: z.ZodLiteral<"live-agent-handoff">;
|
|
1478
|
-
payload: z.
|
|
1526
|
+
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1527
|
+
type: z.ZodLiteral<"message">;
|
|
1479
1528
|
message: z.ZodString;
|
|
1480
|
-
}, "
|
|
1529
|
+
}, "strict", z.ZodTypeAny, {
|
|
1530
|
+
type: "message";
|
|
1481
1531
|
message: string;
|
|
1482
1532
|
}, {
|
|
1533
|
+
type: "message";
|
|
1483
1534
|
message: string;
|
|
1484
|
-
}>, z.
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1535
|
+
}>, z.ZodObject<{
|
|
1536
|
+
type: z.ZodLiteral<"file_upload">;
|
|
1537
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1538
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1539
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1540
|
+
}, "strip", z.ZodTypeAny, {
|
|
1541
|
+
metadata: Record<string, any>;
|
|
1542
|
+
id?: string | null | undefined;
|
|
1543
|
+
}, {
|
|
1544
|
+
metadata: Record<string, any>;
|
|
1545
|
+
id?: string | null | undefined;
|
|
1546
|
+
}>, "many">;
|
|
1547
|
+
}, "strict", z.ZodTypeAny, {
|
|
1548
|
+
type: "file_upload";
|
|
1549
|
+
files: {
|
|
1550
|
+
metadata: Record<string, any>;
|
|
1551
|
+
id?: string | null | undefined;
|
|
1552
|
+
}[];
|
|
1553
|
+
}, {
|
|
1554
|
+
type: "file_upload";
|
|
1555
|
+
files: {
|
|
1556
|
+
metadata: Record<string, any>;
|
|
1557
|
+
id?: string | null | undefined;
|
|
1558
|
+
}[];
|
|
1559
|
+
}>, z.ZodObject<{
|
|
1560
|
+
type: z.ZodLiteral<"continue_conversation">;
|
|
1561
|
+
}, "strict", z.ZodTypeAny, {
|
|
1562
|
+
type: "continue_conversation";
|
|
1490
1563
|
}, {
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
}>, "many">]>;
|
|
1564
|
+
type: "continue_conversation";
|
|
1565
|
+
}>]>;
|
|
1494
1566
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
1495
1567
|
export type AnyRequest = z.infer<typeof AnyRequestDTO>;
|
|
1496
1568
|
export declare const isAnyRequest: (value: unknown) => value is AnyRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"any-request.dto.d.ts","sourceRoot":"","sources":["../../../src/request/any-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiBxB,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"any-request.dto.d.ts","sourceRoot":"","sources":["../../../src/request/any-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiBxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAexB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEvD,eAAO,MAAM,YAAY,UAAW,OAAO,KAAG,KAAK,IAAI,UAAoD,CAAC"}
|
|
@@ -1,86 +1,189 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import type { Enum } from '../utils/enum.util';
|
|
3
|
+
export type LiveAgentHandoffRequestType = Enum<typeof LiveAgentHandoffRequestType>;
|
|
4
|
+
export declare const LiveAgentHandoffRequestType: {
|
|
5
|
+
readonly MESSAGE: "message";
|
|
6
|
+
readonly FILE_UPLOAD: "file_upload";
|
|
7
|
+
readonly CONTINUE_CONVERSATION: "continue_conversation";
|
|
8
|
+
};
|
|
2
9
|
export type LiveAgentHandoffMessagePayload = z.infer<typeof LiveAgentHandoffMessagePayloadDTO>;
|
|
3
10
|
export declare const LiveAgentHandoffMessagePayloadDTO: z.ZodObject<{
|
|
11
|
+
type: z.ZodLiteral<"message">;
|
|
4
12
|
message: z.ZodString;
|
|
5
|
-
}, "
|
|
13
|
+
}, "strict", z.ZodTypeAny, {
|
|
14
|
+
type: "message";
|
|
6
15
|
message: string;
|
|
7
16
|
}, {
|
|
17
|
+
type: "message";
|
|
8
18
|
message: string;
|
|
9
19
|
}>;
|
|
10
20
|
export type LiveAgentHandoffFileUploadPayload = z.infer<typeof LiveAgentHandoffFileUploadPayloadDTO>;
|
|
11
|
-
export declare const LiveAgentHandoffFileUploadPayloadDTO: z.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
21
|
+
export declare const LiveAgentHandoffFileUploadPayloadDTO: z.ZodObject<{
|
|
22
|
+
type: z.ZodLiteral<"file_upload">;
|
|
23
|
+
files: z.ZodArray<z.ZodObject<{
|
|
24
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
metadata: Record<string, any>;
|
|
28
|
+
id?: string | null | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
metadata: Record<string, any>;
|
|
31
|
+
id?: string | null | undefined;
|
|
32
|
+
}>, "many">;
|
|
33
|
+
}, "strict", z.ZodTypeAny, {
|
|
34
|
+
type: "file_upload";
|
|
35
|
+
files: {
|
|
36
|
+
metadata: Record<string, any>;
|
|
37
|
+
id?: string | null | undefined;
|
|
38
|
+
}[];
|
|
39
|
+
}, {
|
|
40
|
+
type: "file_upload";
|
|
41
|
+
files: {
|
|
42
|
+
metadata: Record<string, any>;
|
|
43
|
+
id?: string | null | undefined;
|
|
44
|
+
}[];
|
|
45
|
+
}>;
|
|
46
|
+
export type LiveAgentHandoffContinueConversationPayload = z.infer<typeof LiveAgentHandoffContinueConversationPayloadDTO>;
|
|
47
|
+
export declare const LiveAgentHandoffContinueConversationPayloadDTO: z.ZodObject<{
|
|
48
|
+
type: z.ZodLiteral<"continue_conversation">;
|
|
49
|
+
}, "strict", z.ZodTypeAny, {
|
|
50
|
+
type: "continue_conversation";
|
|
17
51
|
}, {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}>, "many">;
|
|
52
|
+
type: "continue_conversation";
|
|
53
|
+
}>;
|
|
21
54
|
export type LiveAgentHandoffRequest = z.infer<typeof LiveAgentHandoffRequestDTO>;
|
|
22
55
|
export declare const LiveAgentHandoffRequestDTO: z.ZodObject<{
|
|
23
56
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
24
57
|
} & {
|
|
25
58
|
type: z.ZodLiteral<"live-agent-handoff">;
|
|
26
|
-
payload: z.
|
|
59
|
+
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
60
|
+
type: z.ZodLiteral<"message">;
|
|
27
61
|
message: z.ZodString;
|
|
28
|
-
}, "
|
|
62
|
+
}, "strict", z.ZodTypeAny, {
|
|
63
|
+
type: "message";
|
|
29
64
|
message: string;
|
|
30
65
|
}, {
|
|
66
|
+
type: "message";
|
|
31
67
|
message: string;
|
|
32
|
-
}>, z.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
68
|
+
}>, z.ZodObject<{
|
|
69
|
+
type: z.ZodLiteral<"file_upload">;
|
|
70
|
+
files: z.ZodArray<z.ZodObject<{
|
|
71
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
|
+
metadata: Record<string, any>;
|
|
75
|
+
id?: string | null | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
metadata: Record<string, any>;
|
|
78
|
+
id?: string | null | undefined;
|
|
79
|
+
}>, "many">;
|
|
80
|
+
}, "strict", z.ZodTypeAny, {
|
|
81
|
+
type: "file_upload";
|
|
82
|
+
files: {
|
|
83
|
+
metadata: Record<string, any>;
|
|
84
|
+
id?: string | null | undefined;
|
|
85
|
+
}[];
|
|
38
86
|
}, {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
87
|
+
type: "file_upload";
|
|
88
|
+
files: {
|
|
89
|
+
metadata: Record<string, any>;
|
|
90
|
+
id?: string | null | undefined;
|
|
91
|
+
}[];
|
|
92
|
+
}>, z.ZodObject<{
|
|
93
|
+
type: z.ZodLiteral<"continue_conversation">;
|
|
94
|
+
}, "strict", z.ZodTypeAny, {
|
|
95
|
+
type: "continue_conversation";
|
|
96
|
+
}, {
|
|
97
|
+
type: "continue_conversation";
|
|
98
|
+
}>]>;
|
|
42
99
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
43
100
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
44
101
|
} & {
|
|
45
102
|
type: z.ZodLiteral<"live-agent-handoff">;
|
|
46
|
-
payload: z.
|
|
103
|
+
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
104
|
+
type: z.ZodLiteral<"message">;
|
|
47
105
|
message: z.ZodString;
|
|
48
|
-
}, "
|
|
106
|
+
}, "strict", z.ZodTypeAny, {
|
|
107
|
+
type: "message";
|
|
49
108
|
message: string;
|
|
50
109
|
}, {
|
|
110
|
+
type: "message";
|
|
51
111
|
message: string;
|
|
52
|
-
}>, z.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
112
|
+
}>, z.ZodObject<{
|
|
113
|
+
type: z.ZodLiteral<"file_upload">;
|
|
114
|
+
files: z.ZodArray<z.ZodObject<{
|
|
115
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
metadata: Record<string, any>;
|
|
119
|
+
id?: string | null | undefined;
|
|
120
|
+
}, {
|
|
121
|
+
metadata: Record<string, any>;
|
|
122
|
+
id?: string | null | undefined;
|
|
123
|
+
}>, "many">;
|
|
124
|
+
}, "strict", z.ZodTypeAny, {
|
|
125
|
+
type: "file_upload";
|
|
126
|
+
files: {
|
|
127
|
+
metadata: Record<string, any>;
|
|
128
|
+
id?: string | null | undefined;
|
|
129
|
+
}[];
|
|
130
|
+
}, {
|
|
131
|
+
type: "file_upload";
|
|
132
|
+
files: {
|
|
133
|
+
metadata: Record<string, any>;
|
|
134
|
+
id?: string | null | undefined;
|
|
135
|
+
}[];
|
|
136
|
+
}>, z.ZodObject<{
|
|
137
|
+
type: z.ZodLiteral<"continue_conversation">;
|
|
138
|
+
}, "strict", z.ZodTypeAny, {
|
|
139
|
+
type: "continue_conversation";
|
|
58
140
|
}, {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}>, "many">]>;
|
|
141
|
+
type: "continue_conversation";
|
|
142
|
+
}>]>;
|
|
62
143
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
63
144
|
diagramID: z.ZodOptional<z.ZodString>;
|
|
64
145
|
} & {
|
|
65
146
|
type: z.ZodLiteral<"live-agent-handoff">;
|
|
66
|
-
payload: z.
|
|
147
|
+
payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
148
|
+
type: z.ZodLiteral<"message">;
|
|
67
149
|
message: z.ZodString;
|
|
68
|
-
}, "
|
|
150
|
+
}, "strict", z.ZodTypeAny, {
|
|
151
|
+
type: "message";
|
|
69
152
|
message: string;
|
|
70
153
|
}, {
|
|
154
|
+
type: "message";
|
|
71
155
|
message: string;
|
|
72
|
-
}>, z.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
156
|
+
}>, z.ZodObject<{
|
|
157
|
+
type: z.ZodLiteral<"file_upload">;
|
|
158
|
+
files: z.ZodArray<z.ZodObject<{
|
|
159
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
160
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
161
|
+
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
metadata: Record<string, any>;
|
|
163
|
+
id?: string | null | undefined;
|
|
164
|
+
}, {
|
|
165
|
+
metadata: Record<string, any>;
|
|
166
|
+
id?: string | null | undefined;
|
|
167
|
+
}>, "many">;
|
|
168
|
+
}, "strict", z.ZodTypeAny, {
|
|
169
|
+
type: "file_upload";
|
|
170
|
+
files: {
|
|
171
|
+
metadata: Record<string, any>;
|
|
172
|
+
id?: string | null | undefined;
|
|
173
|
+
}[];
|
|
174
|
+
}, {
|
|
175
|
+
type: "file_upload";
|
|
176
|
+
files: {
|
|
177
|
+
metadata: Record<string, any>;
|
|
178
|
+
id?: string | null | undefined;
|
|
179
|
+
}[];
|
|
180
|
+
}>, z.ZodObject<{
|
|
181
|
+
type: z.ZodLiteral<"continue_conversation">;
|
|
182
|
+
}, "strict", z.ZodTypeAny, {
|
|
183
|
+
type: "continue_conversation";
|
|
78
184
|
}, {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}>, "many">]>;
|
|
185
|
+
type: "continue_conversation";
|
|
186
|
+
}>]>;
|
|
82
187
|
}, z.ZodTypeAny, "passthrough">>;
|
|
83
188
|
export declare const isLiveAgentHandoffRequest: (value: unknown) => value is LiveAgentHandoffRequest;
|
|
84
|
-
export declare const isLiveAgentHandoffMessagePayload: (value: unknown) => value is LiveAgentHandoffMessagePayload;
|
|
85
|
-
export declare const isLiveAgentHandoffFileUploadPayload: (value: unknown) => value is LiveAgentHandoffFileUploadPayload;
|
|
86
189
|
//# sourceMappingURL=live-agent-handoff-request.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"live-agent-handoff-request.dto.d.ts","sourceRoot":"","sources":["../../../src/request/live-agent-handoff-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"live-agent-handoff-request.dto.d.ts","sourceRoot":"","sources":["../../../src/request/live-agent-handoff-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAK9C,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,OAAO,2BAA2B,CAAC,CAAC;AACnF,eAAO,MAAM,2BAA2B;;;;CAI9B,CAAC;AAEX,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC/F,eAAO,MAAM,iCAAiC;;;;;;;;;EAKnC,CAAC;AAEZ,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AACrG,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;EAYtC,CAAC;AAEZ,MAAM,MAAM,2CAA2C,GAAG,CAAC,CAAC,KAAK,CAC/D,OAAO,8CAA8C,CACtD,CAAC;AACF,eAAO,MAAM,8CAA8C;;;;;;EAIhD,CAAC;AAEZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AACjF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAOvB,CAAC;AAEjB,eAAO,MAAM,yBAAyB,UAAW,OAAO,KAAG,KAAK,IAAI,uBACf,CAAC"}
|
|
@@ -1,26 +1,44 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.isLiveAgentHandoffRequest = exports.LiveAgentHandoffRequestDTO = exports.LiveAgentHandoffContinueConversationPayloadDTO = exports.LiveAgentHandoffFileUploadPayloadDTO = exports.LiveAgentHandoffMessagePayloadDTO = exports.LiveAgentHandoffRequestType = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const request_type_enum_1 = require("./request-type.enum");
|
|
6
6
|
const utils_dto_1 = require("./utils.dto");
|
|
7
|
-
exports.
|
|
7
|
+
exports.LiveAgentHandoffRequestType = {
|
|
8
|
+
MESSAGE: 'message',
|
|
9
|
+
FILE_UPLOAD: 'file_upload',
|
|
10
|
+
CONTINUE_CONVERSATION: 'continue_conversation',
|
|
11
|
+
};
|
|
12
|
+
exports.LiveAgentHandoffMessagePayloadDTO = zod_1.z
|
|
13
|
+
.object({
|
|
14
|
+
type: zod_1.z.literal(exports.LiveAgentHandoffRequestType.MESSAGE),
|
|
8
15
|
message: zod_1.z.string(),
|
|
9
|
-
})
|
|
16
|
+
})
|
|
17
|
+
.strict();
|
|
10
18
|
exports.LiveAgentHandoffFileUploadPayloadDTO = zod_1.z
|
|
11
|
-
.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
.object({
|
|
20
|
+
type: zod_1.z.literal(exports.LiveAgentHandoffRequestType.FILE_UPLOAD),
|
|
21
|
+
files: zod_1.z
|
|
22
|
+
.array(zod_1.z.object({
|
|
23
|
+
id: zod_1.z.string().min(1).nullish(),
|
|
24
|
+
metadata: zod_1.z.record(zod_1.z.any()),
|
|
25
|
+
}))
|
|
26
|
+
.min(1),
|
|
27
|
+
})
|
|
28
|
+
.strict();
|
|
29
|
+
exports.LiveAgentHandoffContinueConversationPayloadDTO = zod_1.z
|
|
30
|
+
.object({
|
|
31
|
+
type: zod_1.z.literal(exports.LiveAgentHandoffRequestType.CONTINUE_CONVERSATION),
|
|
32
|
+
})
|
|
33
|
+
.strict();
|
|
16
34
|
exports.LiveAgentHandoffRequestDTO = utils_dto_1.BaseRequestDTO.extend({
|
|
17
35
|
type: zod_1.z.literal(request_type_enum_1.RequestType.LIVE_AGENT_HANDOFF),
|
|
18
|
-
payload: zod_1.z.
|
|
36
|
+
payload: zod_1.z.discriminatedUnion('type', [
|
|
37
|
+
exports.LiveAgentHandoffMessagePayloadDTO,
|
|
38
|
+
exports.LiveAgentHandoffFileUploadPayloadDTO,
|
|
39
|
+
exports.LiveAgentHandoffContinueConversationPayloadDTO,
|
|
40
|
+
]),
|
|
19
41
|
}).passthrough();
|
|
20
42
|
const isLiveAgentHandoffRequest = (value) => exports.LiveAgentHandoffRequestDTO.safeParse(value).success;
|
|
21
43
|
exports.isLiveAgentHandoffRequest = isLiveAgentHandoffRequest;
|
|
22
|
-
const isLiveAgentHandoffMessagePayload = (value) => exports.LiveAgentHandoffMessagePayloadDTO.safeParse(value).success;
|
|
23
|
-
exports.isLiveAgentHandoffMessagePayload = isLiveAgentHandoffMessagePayload;
|
|
24
|
-
const isLiveAgentHandoffFileUploadPayload = (value) => exports.LiveAgentHandoffFileUploadPayloadDTO.safeParse(value).success;
|
|
25
|
-
exports.isLiveAgentHandoffFileUploadPayload = isLiveAgentHandoffFileUploadPayload;
|
|
26
44
|
//# sourceMappingURL=live-agent-handoff-request.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"live-agent-handoff-request.dto.js","sourceRoot":"","sources":["../../../src/request/live-agent-handoff-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;
|
|
1
|
+
{"version":3,"file":"live-agent-handoff-request.dto.js","sourceRoot":"","sources":["../../../src/request/live-agent-handoff-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAIxB,2DAAkD;AAClD,2CAA6C;AAGhC,QAAA,2BAA2B,GAAG;IACzC,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,qBAAqB,EAAE,uBAAuB;CACtC,CAAC;AAGE,QAAA,iCAAiC,GAAG,OAAC;KAC/C,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,mCAA2B,CAAC,OAAO,CAAC;IACpD,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;CACpB,CAAC;KACD,MAAM,EAAE,CAAC;AAGC,QAAA,oCAAoC,GAAG,OAAC;KAClD,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,mCAA2B,CAAC,WAAW,CAAC;IACxD,KAAK,EAAE,OAAC;SACL,KAAK,CACJ,OAAC,CAAC,MAAM,CAAC;QACP,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE;QAC/B,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC;KAC5B,CAAC,CACH;SACA,GAAG,CAAC,CAAC,CAAC;CACV,CAAC;KACD,MAAM,EAAE,CAAC;AAKC,QAAA,8CAA8C,GAAG,OAAC;KAC5D,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,mCAA2B,CAAC,qBAAqB,CAAC;CACnE,CAAC;KACD,MAAM,EAAE,CAAC;AAGC,QAAA,0BAA0B,GAAG,0BAAc,CAAC,MAAM,CAAC;IAC9D,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,+BAAW,CAAC,kBAAkB,CAAC;IAC/C,OAAO,EAAE,OAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;QACpC,yCAAiC;QACjC,4CAAoC;QACpC,sDAA8C;KAC/C,CAAC;CACH,CAAC,CAAC,WAAW,EAAE,CAAC;AAEV,MAAM,yBAAyB,GAAG,CAAC,KAAc,EAAoC,EAAE,CAC5F,kCAA0B,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AADzC,QAAA,yBAAyB,6BACgB"}
|
|
@@ -1254,6 +1254,7 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1254
1254
|
}, "strip", z.ZodTypeAny, {
|
|
1255
1255
|
message: string;
|
|
1256
1256
|
type?: string | undefined;
|
|
1257
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1257
1258
|
ref?: {
|
|
1258
1259
|
type: "node";
|
|
1259
1260
|
diagramID: string;
|
|
@@ -1295,10 +1296,10 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1295
1296
|
} | undefined;
|
|
1296
1297
|
level?: "debug" | "fatal" | "error" | "warn" | "info" | undefined;
|
|
1297
1298
|
context?: string | undefined;
|
|
1298
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1299
1299
|
}, {
|
|
1300
1300
|
message: string;
|
|
1301
1301
|
type?: string | undefined;
|
|
1302
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1302
1303
|
ref?: {
|
|
1303
1304
|
type: "node";
|
|
1304
1305
|
diagramID: string;
|
|
@@ -1340,13 +1341,13 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1340
1341
|
} | undefined;
|
|
1341
1342
|
level?: "debug" | "fatal" | "error" | "warn" | "info" | undefined;
|
|
1342
1343
|
context?: string | undefined;
|
|
1343
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1344
1344
|
}>;
|
|
1345
1345
|
}, "strip", z.ZodTypeAny, {
|
|
1346
1346
|
type: "debug";
|
|
1347
1347
|
payload: {
|
|
1348
1348
|
message: string;
|
|
1349
1349
|
type?: string | undefined;
|
|
1350
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1350
1351
|
ref?: {
|
|
1351
1352
|
type: "node";
|
|
1352
1353
|
diagramID: string;
|
|
@@ -1388,7 +1389,6 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1388
1389
|
} | undefined;
|
|
1389
1390
|
level?: "debug" | "fatal" | "error" | "warn" | "info" | undefined;
|
|
1390
1391
|
context?: string | undefined;
|
|
1391
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1392
1392
|
};
|
|
1393
1393
|
paths?: {
|
|
1394
1394
|
label?: string | undefined;
|
|
@@ -1405,6 +1405,7 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1405
1405
|
payload: {
|
|
1406
1406
|
message: string;
|
|
1407
1407
|
type?: string | undefined;
|
|
1408
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1408
1409
|
ref?: {
|
|
1409
1410
|
type: "node";
|
|
1410
1411
|
diagramID: string;
|
|
@@ -1446,7 +1447,6 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1446
1447
|
} | undefined;
|
|
1447
1448
|
level?: "debug" | "fatal" | "error" | "warn" | "info" | undefined;
|
|
1448
1449
|
context?: string | undefined;
|
|
1449
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1450
1450
|
};
|
|
1451
1451
|
paths?: {
|
|
1452
1452
|
label?: string | undefined;
|
|
@@ -2391,11 +2391,11 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2391
2391
|
id: z.ZodString;
|
|
2392
2392
|
content: z.ZodArray<z.ZodEffects<z.ZodAny, import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement, any>, "many">;
|
|
2393
2393
|
}, "strip", z.ZodTypeAny, {
|
|
2394
|
-
content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
|
|
2395
2394
|
id: string;
|
|
2395
|
+
content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
|
|
2396
2396
|
}, {
|
|
2397
|
-
content: any[];
|
|
2398
2397
|
id: string;
|
|
2398
|
+
content: any[];
|
|
2399
2399
|
}>;
|
|
2400
2400
|
delay: z.ZodOptional<z.ZodNumber>;
|
|
2401
2401
|
voice: z.ZodOptional<z.ZodString>;
|
|
@@ -2409,8 +2409,8 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2409
2409
|
}, "strip", z.ZodTypeAny, {
|
|
2410
2410
|
message: string;
|
|
2411
2411
|
slate: {
|
|
2412
|
-
content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
|
|
2413
2412
|
id: string;
|
|
2413
|
+
content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
|
|
2414
2414
|
};
|
|
2415
2415
|
voice?: string | undefined;
|
|
2416
2416
|
audio?: {
|
|
@@ -2421,8 +2421,8 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2421
2421
|
}, {
|
|
2422
2422
|
message: string;
|
|
2423
2423
|
slate: {
|
|
2424
|
-
content: any[];
|
|
2425
2424
|
id: string;
|
|
2425
|
+
content: any[];
|
|
2426
2426
|
};
|
|
2427
2427
|
voice?: string | undefined;
|
|
2428
2428
|
audio?: {
|
|
@@ -2436,8 +2436,8 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2436
2436
|
payload: {
|
|
2437
2437
|
message: string;
|
|
2438
2438
|
slate: {
|
|
2439
|
-
content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
|
|
2440
2439
|
id: string;
|
|
2440
|
+
content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
|
|
2441
2441
|
};
|
|
2442
2442
|
voice?: string | undefined;
|
|
2443
2443
|
audio?: {
|
|
@@ -2461,8 +2461,8 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2461
2461
|
payload: {
|
|
2462
2462
|
message: string;
|
|
2463
2463
|
slate: {
|
|
2464
|
-
content: any[];
|
|
2465
2464
|
id: string;
|
|
2465
|
+
content: any[];
|
|
2466
2466
|
};
|
|
2467
2467
|
voice?: string | undefined;
|
|
2468
2468
|
audio?: {
|
|
@@ -428,6 +428,7 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
428
428
|
}, "strip", z.ZodTypeAny, {
|
|
429
429
|
message: string;
|
|
430
430
|
type?: string | undefined;
|
|
431
|
+
metadata?: Record<string, unknown> | undefined;
|
|
431
432
|
ref?: {
|
|
432
433
|
type: "node";
|
|
433
434
|
diagramID: string;
|
|
@@ -469,10 +470,10 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
469
470
|
} | undefined;
|
|
470
471
|
level?: "debug" | "fatal" | "error" | "warn" | "info" | undefined;
|
|
471
472
|
context?: string | undefined;
|
|
472
|
-
metadata?: Record<string, unknown> | undefined;
|
|
473
473
|
}, {
|
|
474
474
|
message: string;
|
|
475
475
|
type?: string | undefined;
|
|
476
|
+
metadata?: Record<string, unknown> | undefined;
|
|
476
477
|
ref?: {
|
|
477
478
|
type: "node";
|
|
478
479
|
diagramID: string;
|
|
@@ -514,13 +515,13 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
514
515
|
} | undefined;
|
|
515
516
|
level?: "debug" | "fatal" | "error" | "warn" | "info" | undefined;
|
|
516
517
|
context?: string | undefined;
|
|
517
|
-
metadata?: Record<string, unknown> | undefined;
|
|
518
518
|
}>;
|
|
519
519
|
}, "strip", z.ZodTypeAny, {
|
|
520
520
|
type: "debug";
|
|
521
521
|
payload: {
|
|
522
522
|
message: string;
|
|
523
523
|
type?: string | undefined;
|
|
524
|
+
metadata?: Record<string, unknown> | undefined;
|
|
524
525
|
ref?: {
|
|
525
526
|
type: "node";
|
|
526
527
|
diagramID: string;
|
|
@@ -562,7 +563,6 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
562
563
|
} | undefined;
|
|
563
564
|
level?: "debug" | "fatal" | "error" | "warn" | "info" | undefined;
|
|
564
565
|
context?: string | undefined;
|
|
565
|
-
metadata?: Record<string, unknown> | undefined;
|
|
566
566
|
};
|
|
567
567
|
paths?: {
|
|
568
568
|
label?: string | undefined;
|
|
@@ -579,6 +579,7 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
579
579
|
payload: {
|
|
580
580
|
message: string;
|
|
581
581
|
type?: string | undefined;
|
|
582
|
+
metadata?: Record<string, unknown> | undefined;
|
|
582
583
|
ref?: {
|
|
583
584
|
type: "node";
|
|
584
585
|
diagramID: string;
|
|
@@ -620,7 +621,6 @@ export declare const DebugTraceDTO: z.ZodObject<{
|
|
|
620
621
|
} | undefined;
|
|
621
622
|
level?: "debug" | "fatal" | "error" | "warn" | "info" | undefined;
|
|
622
623
|
context?: string | undefined;
|
|
623
|
-
metadata?: Record<string, unknown> | undefined;
|
|
624
624
|
};
|
|
625
625
|
paths?: {
|
|
626
626
|
label?: string | undefined;
|