@ampsec/platform-client 82.3.0 → 82.3.1
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/src/dto/contexts.dto.d.ts +89 -13
- package/build/src/dto/contexts.dto.js +8 -1
- package/build/src/dto/contexts.dto.js.map +1 -1
- package/build/src/dto/platform/platform.contexts.dto.d.ts +66 -10
- package/build/src/services/contentful.service.d.ts +3 -3
- package/package.json +1 -1
- package/src/dto/contexts.dto.ts +8 -1
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const _ContextMeta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3
3
|
tone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
-
|
|
4
|
+
instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5
|
+
includeCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6
|
+
customInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
includeOnlyCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
10
|
+
customInstructions?: string | null | undefined;
|
|
11
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
14
|
+
customInstructions?: string | null | undefined;
|
|
15
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
16
|
+
}>>>;
|
|
5
17
|
markCompleteEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6
18
|
scheduleResolutionSignal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
19
|
scheduleResolutionWorkflowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9,7 +21,11 @@ export declare const _ContextMeta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
|
9
21
|
scheduleResolutionSubmitted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
22
|
}, "strip", z.ZodTypeAny, {
|
|
11
23
|
tone?: string | null | undefined;
|
|
12
|
-
|
|
24
|
+
instructions?: {
|
|
25
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
26
|
+
customInstructions?: string | null | undefined;
|
|
27
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
28
|
+
} | null | undefined;
|
|
13
29
|
markCompleteEnabled?: boolean | null | undefined;
|
|
14
30
|
scheduleResolutionSignal?: string | null | undefined;
|
|
15
31
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -17,7 +33,11 @@ export declare const _ContextMeta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
|
17
33
|
scheduleResolutionSubmitted?: number | null | undefined;
|
|
18
34
|
}, {
|
|
19
35
|
tone?: string | null | undefined;
|
|
20
|
-
|
|
36
|
+
instructions?: {
|
|
37
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
38
|
+
customInstructions?: string | null | undefined;
|
|
39
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
40
|
+
} | null | undefined;
|
|
21
41
|
markCompleteEnabled?: boolean | null | undefined;
|
|
22
42
|
scheduleResolutionSignal?: string | null | undefined;
|
|
23
43
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -44,7 +64,19 @@ export declare const _ContextDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
44
64
|
engagementChannel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
65
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
66
|
tone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
|
|
67
|
+
instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
68
|
+
includeCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
69
|
+
customInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
|
+
includeOnlyCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
73
|
+
customInstructions?: string | null | undefined;
|
|
74
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
77
|
+
customInstructions?: string | null | undefined;
|
|
78
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
79
|
+
}>>>;
|
|
48
80
|
markCompleteEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
49
81
|
scheduleResolutionSignal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
82
|
scheduleResolutionWorkflowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -52,7 +84,11 @@ export declare const _ContextDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
52
84
|
scheduleResolutionSubmitted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
85
|
}, "strip", z.ZodTypeAny, {
|
|
54
86
|
tone?: string | null | undefined;
|
|
55
|
-
|
|
87
|
+
instructions?: {
|
|
88
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
89
|
+
customInstructions?: string | null | undefined;
|
|
90
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
91
|
+
} | null | undefined;
|
|
56
92
|
markCompleteEnabled?: boolean | null | undefined;
|
|
57
93
|
scheduleResolutionSignal?: string | null | undefined;
|
|
58
94
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -60,7 +96,11 @@ export declare const _ContextDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
60
96
|
scheduleResolutionSubmitted?: number | null | undefined;
|
|
61
97
|
}, {
|
|
62
98
|
tone?: string | null | undefined;
|
|
63
|
-
|
|
99
|
+
instructions?: {
|
|
100
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
101
|
+
customInstructions?: string | null | undefined;
|
|
102
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
103
|
+
} | null | undefined;
|
|
64
104
|
markCompleteEnabled?: boolean | null | undefined;
|
|
65
105
|
scheduleResolutionSignal?: string | null | undefined;
|
|
66
106
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -75,7 +115,11 @@ export declare const _ContextDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
75
115
|
extId?: string | null | undefined;
|
|
76
116
|
meta?: {
|
|
77
117
|
tone?: string | null | undefined;
|
|
78
|
-
|
|
118
|
+
instructions?: {
|
|
119
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
120
|
+
customInstructions?: string | null | undefined;
|
|
121
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
122
|
+
} | null | undefined;
|
|
79
123
|
markCompleteEnabled?: boolean | null | undefined;
|
|
80
124
|
scheduleResolutionSignal?: string | null | undefined;
|
|
81
125
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -101,7 +145,11 @@ export declare const _ContextDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
101
145
|
extId?: string | null | undefined;
|
|
102
146
|
meta?: {
|
|
103
147
|
tone?: string | null | undefined;
|
|
104
|
-
|
|
148
|
+
instructions?: {
|
|
149
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
150
|
+
customInstructions?: string | null | undefined;
|
|
151
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
152
|
+
} | null | undefined;
|
|
105
153
|
markCompleteEnabled?: boolean | null | undefined;
|
|
106
154
|
scheduleResolutionSignal?: string | null | undefined;
|
|
107
155
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -129,7 +177,19 @@ export declare const _ContextUpsertDto: z.ZodObject<{
|
|
|
129
177
|
extId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
130
178
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
131
179
|
tone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
|
-
|
|
180
|
+
instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
181
|
+
includeCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
182
|
+
customInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
183
|
+
includeOnlyCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
184
|
+
}, "strip", z.ZodTypeAny, {
|
|
185
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
186
|
+
customInstructions?: string | null | undefined;
|
|
187
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
188
|
+
}, {
|
|
189
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
190
|
+
customInstructions?: string | null | undefined;
|
|
191
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
192
|
+
}>>>;
|
|
133
193
|
markCompleteEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
134
194
|
scheduleResolutionSignal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
195
|
scheduleResolutionWorkflowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -137,7 +197,11 @@ export declare const _ContextUpsertDto: z.ZodObject<{
|
|
|
137
197
|
scheduleResolutionSubmitted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
138
198
|
}, "strip", z.ZodTypeAny, {
|
|
139
199
|
tone?: string | null | undefined;
|
|
140
|
-
|
|
200
|
+
instructions?: {
|
|
201
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
202
|
+
customInstructions?: string | null | undefined;
|
|
203
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
204
|
+
} | null | undefined;
|
|
141
205
|
markCompleteEnabled?: boolean | null | undefined;
|
|
142
206
|
scheduleResolutionSignal?: string | null | undefined;
|
|
143
207
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -145,7 +209,11 @@ export declare const _ContextUpsertDto: z.ZodObject<{
|
|
|
145
209
|
scheduleResolutionSubmitted?: number | null | undefined;
|
|
146
210
|
}, {
|
|
147
211
|
tone?: string | null | undefined;
|
|
148
|
-
|
|
212
|
+
instructions?: {
|
|
213
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
214
|
+
customInstructions?: string | null | undefined;
|
|
215
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
216
|
+
} | null | undefined;
|
|
149
217
|
markCompleteEnabled?: boolean | null | undefined;
|
|
150
218
|
scheduleResolutionSignal?: string | null | undefined;
|
|
151
219
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -171,7 +239,11 @@ export declare const _ContextUpsertDto: z.ZodObject<{
|
|
|
171
239
|
extId?: string | null | undefined;
|
|
172
240
|
meta?: {
|
|
173
241
|
tone?: string | null | undefined;
|
|
174
|
-
|
|
242
|
+
instructions?: {
|
|
243
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
244
|
+
customInstructions?: string | null | undefined;
|
|
245
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
246
|
+
} | null | undefined;
|
|
175
247
|
markCompleteEnabled?: boolean | null | undefined;
|
|
176
248
|
scheduleResolutionSignal?: string | null | undefined;
|
|
177
249
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -197,7 +269,11 @@ export declare const _ContextUpsertDto: z.ZodObject<{
|
|
|
197
269
|
extId?: string | null | undefined;
|
|
198
270
|
meta?: {
|
|
199
271
|
tone?: string | null | undefined;
|
|
200
|
-
|
|
272
|
+
instructions?: {
|
|
273
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
274
|
+
customInstructions?: string | null | undefined;
|
|
275
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
276
|
+
} | null | undefined;
|
|
201
277
|
markCompleteEnabled?: boolean | null | undefined;
|
|
202
278
|
scheduleResolutionSignal?: string | null | undefined;
|
|
203
279
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -6,7 +6,14 @@ const base_dto_1 = require("./base.dto");
|
|
|
6
6
|
exports._ContextMeta = zod_1.z
|
|
7
7
|
.object({
|
|
8
8
|
tone: zod_1.z.string().nullish(),
|
|
9
|
-
|
|
9
|
+
instructions: zod_1.z
|
|
10
|
+
.object({
|
|
11
|
+
includeCustomInstructions: zod_1.z.boolean().nullish(),
|
|
12
|
+
customInstructions: zod_1.z.string().nullish(),
|
|
13
|
+
// ignored when `includeCustomInstructions` is `false`
|
|
14
|
+
includeOnlyCustomInstructions: zod_1.z.boolean().nullish(),
|
|
15
|
+
})
|
|
16
|
+
.nullish(),
|
|
10
17
|
markCompleteEnabled: zod_1.z.boolean().nullish(),
|
|
11
18
|
scheduleResolutionSignal: zod_1.z.string().nullish(),
|
|
12
19
|
scheduleResolutionWorkflowId: zod_1.z.string().nullish(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contexts.dto.js","sourceRoot":"","sources":["../../../src/dto/contexts.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAqD;AAExC,QAAA,YAAY,GAAG,OAAC;KAC1B,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,
|
|
1
|
+
{"version":3,"file":"contexts.dto.js","sourceRoot":"","sources":["../../../src/dto/contexts.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAqD;AAExC,QAAA,YAAY,GAAG,OAAC;KAC1B,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,YAAY,EAAE,OAAC;SACZ,MAAM,CAAC;QACN,yBAAyB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;QAChD,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;QACxC,sDAAsD;QACtD,6BAA6B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;KACrD,CAAC;SACD,OAAO,EAAE;IACZ,mBAAmB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;IAC1C,wBAAwB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC9C,4BAA4B,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAClD,wBAAwB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC9C,2BAA2B,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;CAClD,CAAC;KACD,OAAO,EAAE,CAAC;AAEA,QAAA,WAAW,GAAG,mBAAQ,CAAC,MAAM,CAAC;IACzC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACpC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC3B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACpC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC/B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC9B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACzC,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACxC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACpC,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACvC,IAAI,EAAE,oBAAY;CACnB,CAAC,CAAC;AAIU,QAAA,iBAAiB,GAAG,mBAAW,CAAC,OAAO,CAAC,0BAAe,CAAC,CAAC"}
|
|
@@ -7,7 +7,19 @@ export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
7
7
|
extId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
8
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
9
|
tone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
|
|
10
|
+
instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
|
+
includeCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
|
+
customInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
includeOnlyCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
16
|
+
customInstructions?: string | null | undefined;
|
|
17
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
20
|
+
customInstructions?: string | null | undefined;
|
|
21
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
22
|
+
}>>>;
|
|
11
23
|
markCompleteEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
24
|
scheduleResolutionSignal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
25
|
scheduleResolutionWorkflowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -15,7 +27,11 @@ export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
15
27
|
scheduleResolutionSubmitted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
28
|
}, "strip", z.ZodTypeAny, {
|
|
17
29
|
tone?: string | null | undefined;
|
|
18
|
-
|
|
30
|
+
instructions?: {
|
|
31
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
32
|
+
customInstructions?: string | null | undefined;
|
|
33
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
34
|
+
} | null | undefined;
|
|
19
35
|
markCompleteEnabled?: boolean | null | undefined;
|
|
20
36
|
scheduleResolutionSignal?: string | null | undefined;
|
|
21
37
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -23,7 +39,11 @@ export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
23
39
|
scheduleResolutionSubmitted?: number | null | undefined;
|
|
24
40
|
}, {
|
|
25
41
|
tone?: string | null | undefined;
|
|
26
|
-
|
|
42
|
+
instructions?: {
|
|
43
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
44
|
+
customInstructions?: string | null | undefined;
|
|
45
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
46
|
+
} | null | undefined;
|
|
27
47
|
markCompleteEnabled?: boolean | null | undefined;
|
|
28
48
|
scheduleResolutionSignal?: string | null | undefined;
|
|
29
49
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -52,7 +72,11 @@ export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
52
72
|
extId?: string | null | undefined;
|
|
53
73
|
meta?: {
|
|
54
74
|
tone?: string | null | undefined;
|
|
55
|
-
|
|
75
|
+
instructions?: {
|
|
76
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
77
|
+
customInstructions?: string | null | undefined;
|
|
78
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
79
|
+
} | null | undefined;
|
|
56
80
|
markCompleteEnabled?: boolean | null | undefined;
|
|
57
81
|
scheduleResolutionSignal?: string | null | undefined;
|
|
58
82
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -79,7 +103,11 @@ export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
79
103
|
extId?: string | null | undefined;
|
|
80
104
|
meta?: {
|
|
81
105
|
tone?: string | null | undefined;
|
|
82
|
-
|
|
106
|
+
instructions?: {
|
|
107
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
108
|
+
customInstructions?: string | null | undefined;
|
|
109
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
110
|
+
} | null | undefined;
|
|
83
111
|
markCompleteEnabled?: boolean | null | undefined;
|
|
84
112
|
scheduleResolutionSignal?: string | null | undefined;
|
|
85
113
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -118,7 +146,19 @@ export declare const _PlatformContextDto: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
118
146
|
engagementChannel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
147
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
120
148
|
tone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
|
-
|
|
149
|
+
instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
150
|
+
includeCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
151
|
+
customInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
|
+
includeOnlyCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
153
|
+
}, "strip", z.ZodTypeAny, {
|
|
154
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
155
|
+
customInstructions?: string | null | undefined;
|
|
156
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
157
|
+
}, {
|
|
158
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
159
|
+
customInstructions?: string | null | undefined;
|
|
160
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
161
|
+
}>>>;
|
|
122
162
|
markCompleteEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
123
163
|
scheduleResolutionSignal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
124
164
|
scheduleResolutionWorkflowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -126,7 +166,11 @@ export declare const _PlatformContextDto: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
126
166
|
scheduleResolutionSubmitted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
127
167
|
}, "strip", z.ZodTypeAny, {
|
|
128
168
|
tone?: string | null | undefined;
|
|
129
|
-
|
|
169
|
+
instructions?: {
|
|
170
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
171
|
+
customInstructions?: string | null | undefined;
|
|
172
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
173
|
+
} | null | undefined;
|
|
130
174
|
markCompleteEnabled?: boolean | null | undefined;
|
|
131
175
|
scheduleResolutionSignal?: string | null | undefined;
|
|
132
176
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -134,7 +178,11 @@ export declare const _PlatformContextDto: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
134
178
|
scheduleResolutionSubmitted?: number | null | undefined;
|
|
135
179
|
}, {
|
|
136
180
|
tone?: string | null | undefined;
|
|
137
|
-
|
|
181
|
+
instructions?: {
|
|
182
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
183
|
+
customInstructions?: string | null | undefined;
|
|
184
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
185
|
+
} | null | undefined;
|
|
138
186
|
markCompleteEnabled?: boolean | null | undefined;
|
|
139
187
|
scheduleResolutionSignal?: string | null | undefined;
|
|
140
188
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -152,7 +200,11 @@ export declare const _PlatformContextDto: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
152
200
|
extId?: string | null | undefined;
|
|
153
201
|
meta?: {
|
|
154
202
|
tone?: string | null | undefined;
|
|
155
|
-
|
|
203
|
+
instructions?: {
|
|
204
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
205
|
+
customInstructions?: string | null | undefined;
|
|
206
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
207
|
+
} | null | undefined;
|
|
156
208
|
markCompleteEnabled?: boolean | null | undefined;
|
|
157
209
|
scheduleResolutionSignal?: string | null | undefined;
|
|
158
210
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -179,7 +231,11 @@ export declare const _PlatformContextDto: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
179
231
|
extId?: string | null | undefined;
|
|
180
232
|
meta?: {
|
|
181
233
|
tone?: string | null | undefined;
|
|
182
|
-
|
|
234
|
+
instructions?: {
|
|
235
|
+
includeCustomInstructions?: boolean | null | undefined;
|
|
236
|
+
customInstructions?: string | null | undefined;
|
|
237
|
+
includeOnlyCustomInstructions?: boolean | null | undefined;
|
|
238
|
+
} | null | undefined;
|
|
183
239
|
markCompleteEnabled?: boolean | null | undefined;
|
|
184
240
|
scheduleResolutionSignal?: string | null | undefined;
|
|
185
241
|
scheduleResolutionWorkflowId?: string | null | undefined;
|
|
@@ -115,9 +115,9 @@ declare const _FindingContent: z.ZodObject<{
|
|
|
115
115
|
}, {
|
|
116
116
|
kind: string;
|
|
117
117
|
title: string;
|
|
118
|
+
instructions?: any;
|
|
118
119
|
displayText?: string | undefined;
|
|
119
120
|
timeToComplete?: string | undefined;
|
|
120
|
-
instructions?: any;
|
|
121
121
|
}>;
|
|
122
122
|
export type FindingContent = z.infer<typeof _FindingContent>;
|
|
123
123
|
declare const _PromptTemplateContent: z.ZodObject<{
|
|
@@ -162,9 +162,9 @@ declare const _Integration: z.ZodObject<{
|
|
|
162
162
|
}, {
|
|
163
163
|
kind: string;
|
|
164
164
|
title: string;
|
|
165
|
+
instructions?: any;
|
|
165
166
|
displayText?: string | undefined;
|
|
166
167
|
timeToComplete?: string | undefined;
|
|
167
|
-
instructions?: any;
|
|
168
168
|
}>;
|
|
169
169
|
domains: z.ZodArray<z.ZodObject<{
|
|
170
170
|
name: z.ZodString;
|
|
@@ -208,9 +208,9 @@ declare const _Integration: z.ZodObject<{
|
|
|
208
208
|
findings: {
|
|
209
209
|
kind: string;
|
|
210
210
|
title: string;
|
|
211
|
+
instructions?: any;
|
|
211
212
|
displayText?: string | undefined;
|
|
212
213
|
timeToComplete?: string | undefined;
|
|
213
|
-
instructions?: any;
|
|
214
214
|
};
|
|
215
215
|
logo: string;
|
|
216
216
|
providerKey: string;
|
package/package.json
CHANGED
package/src/dto/contexts.dto.ts
CHANGED
|
@@ -4,7 +4,14 @@ import {UPSERT_DTO_MASK, _BaseDto} from './base.dto';
|
|
|
4
4
|
export const _ContextMeta = z
|
|
5
5
|
.object({
|
|
6
6
|
tone: z.string().nullish(),
|
|
7
|
-
|
|
7
|
+
instructions: z
|
|
8
|
+
.object({
|
|
9
|
+
includeCustomInstructions: z.boolean().nullish(),
|
|
10
|
+
customInstructions: z.string().nullish(),
|
|
11
|
+
// ignored when `includeCustomInstructions` is `false`
|
|
12
|
+
includeOnlyCustomInstructions: z.boolean().nullish(),
|
|
13
|
+
})
|
|
14
|
+
.nullish(),
|
|
8
15
|
markCompleteEnabled: z.boolean().nullish(),
|
|
9
16
|
scheduleResolutionSignal: z.string().nullish(),
|
|
10
17
|
scheduleResolutionWorkflowId: z.string().nullish(),
|