@case-framework/survey-assistant 0.6.0 → 0.8.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 +67 -7
- package/dist/{attachments-B0hg3vpT.mjs → attachments-BuNni5vB.mjs} +1 -1
- package/dist/{attachments-B0hg3vpT.mjs.map → attachments-BuNni5vB.mjs.map} +1 -1
- package/dist/{authoring-references-CW38pYzK.mjs → authoring-references-DbuOKerg.mjs} +13 -4
- package/dist/authoring-references-DbuOKerg.mjs.map +1 -0
- package/dist/{capabilities-DVTfogjv.d.mts → capabilities-CmeeAjEc.d.mts} +3 -4
- package/dist/capabilities-CmeeAjEc.d.mts.map +1 -0
- package/dist/capabilities-DCMA71PP.mjs +58 -0
- package/dist/capabilities-DCMA71PP.mjs.map +1 -0
- package/dist/capabilities-default.d.mts +13 -12
- package/dist/capabilities-default.d.mts.map +1 -1
- package/dist/capabilities-default.mjs +2 -414
- package/dist/{constants-BMGTgfjv.d.mts → constants-B6HzpEsx.d.mts} +7 -28
- package/dist/constants-B6HzpEsx.d.mts.map +1 -0
- package/dist/{constants-0UHGFcRJ.mjs → constants-Ct-vv9cu.mjs} +1 -1
- package/dist/{constants-0UHGFcRJ.mjs.map → constants-Ct-vv9cu.mjs.map} +1 -1
- package/dist/controller-proxy-D7uQfm5f.d.mts +65 -0
- package/dist/controller-proxy-D7uQfm5f.d.mts.map +1 -0
- package/dist/{controller-proxy-DMTqer6T.mjs → controller-proxy-DEeFl9IA.mjs} +29 -26
- package/dist/controller-proxy-DEeFl9IA.mjs.map +1 -0
- package/dist/default-fhSon2RM.mjs +760 -0
- package/dist/default-fhSon2RM.mjs.map +1 -0
- package/dist/{digest-SJmoYVaK.d.mts → digest-C39WyAWG.d.mts} +2 -3
- package/dist/digest-C39WyAWG.d.mts.map +1 -0
- package/dist/digest.d.mts +1 -1
- package/dist/digest.mjs.map +1 -1
- package/dist/{engine-CQwOAcwK.mjs → engine-nXoCWYpQ.mjs} +2821 -2018
- package/dist/engine-nXoCWYpQ.mjs.map +1 -0
- package/dist/engine.d.mts +3 -3
- package/dist/engine.mjs +3 -3
- package/dist/{fair-guidance-CRYCRxQm.mjs → fair-guidance-BmO4PswW.mjs} +1 -1
- package/dist/{fair-guidance-CRYCRxQm.mjs.map → fair-guidance-BmO4PswW.mjs.map} +1 -1
- package/dist/{index-D6nqkz0O.d.mts → index-Ciq7vHIs.d.mts} +121 -197
- package/dist/index-Ciq7vHIs.d.mts.map +1 -0
- package/dist/{index-DvTqML-0.d.mts → index-D7wT6P3t.d.mts} +294 -63
- package/dist/index-D7wT6P3t.d.mts.map +1 -0
- package/dist/index-WB5kfnz0.d.mts +348 -0
- package/dist/index-WB5kfnz0.d.mts.map +1 -0
- package/dist/{index-B0lxsAzx.d.mts → index-r5riv4md.d.mts} +50 -29
- package/dist/index-r5riv4md.d.mts.map +1 -0
- package/dist/{lifecycle-BmGAIUlv.d.mts → lifecycle-Dm8u7QFh.d.mts} +40 -18
- package/dist/lifecycle-Dm8u7QFh.d.mts.map +1 -0
- package/dist/{memory-thread-repository-CjFGVNZh.mjs → memory-thread-repository-DAnOGIB3.mjs} +89 -34
- package/dist/memory-thread-repository-DAnOGIB3.mjs.map +1 -0
- package/dist/{protocol-DJUP4gc0.mjs → protocol-CF4Bh_Ch.mjs} +182 -50
- package/dist/protocol-CF4Bh_Ch.mjs.map +1 -0
- package/dist/protocol.d.mts +4 -4
- package/dist/protocol.mjs +3 -3
- package/dist/react-C_GY-Fsc.mjs +1727 -0
- package/dist/react-C_GY-Fsc.mjs.map +1 -0
- package/dist/react-integration.d.mts +2 -2
- package/dist/react-integration.mjs +2 -2
- package/dist/react.d.mts +3 -3
- package/dist/react.mjs +3 -3
- package/dist/references/assistant-operations.md +143 -68
- package/dist/references/core-rules.md +6 -3
- package/dist/references/embedded-forms.md +34 -14
- package/dist/references/expressions.md +238 -48
- package/dist/references/fair-by-design.md +9 -9
- package/dist/references/item-types.md +306 -72
- package/dist/references/localization.md +5 -4
- package/dist/references/response-variables.md +38 -0
- package/dist/references/rich-text-content.md +60 -27
- package/dist/references/source-material-surveys.md +13 -5
- package/dist/references/survey-data-model.md +32 -9
- package/dist/{request-context-BjTHNcDd.mjs → request-context-Dg4jSwN1.mjs} +4 -10
- package/dist/request-context-Dg4jSwN1.mjs.map +1 -0
- package/dist/{request-guardrails-TmgQtqp4.mjs → request-guardrails-C0ugBOp0.mjs} +6 -5
- package/dist/request-guardrails-C0ugBOp0.mjs.map +1 -0
- package/dist/server-agent.d.mts +53 -44
- package/dist/server-agent.d.mts.map +1 -1
- package/dist/server-agent.mjs +48 -27
- package/dist/server-agent.mjs.map +1 -1
- package/dist/server-runtime.d.mts +36 -49
- package/dist/server-runtime.d.mts.map +1 -1
- package/dist/server-runtime.mjs +17 -12
- package/dist/server-runtime.mjs.map +1 -1
- package/dist/server-tasks.d.mts +2 -2
- package/dist/server-tasks.mjs +2 -313
- package/dist/server-tools.d.mts +1 -1
- package/dist/server-tools.mjs +1 -1
- package/dist/server.d.mts +13 -36
- package/dist/server.d.mts.map +1 -1
- package/dist/server.mjs +5 -5
- package/dist/server.mjs.map +1 -1
- package/dist/storage-postgres.d.mts +9 -25
- package/dist/storage-postgres.d.mts.map +1 -1
- package/dist/storage-postgres.mjs +5 -4
- package/dist/storage-postgres.mjs.map +1 -1
- package/dist/{tasks-DxzD25Zc.d.mts → tasks-B9h3LPam.d.mts} +19 -35
- package/dist/tasks-B9h3LPam.d.mts.map +1 -0
- package/dist/tasks-BZEiwgxA.mjs +396 -0
- package/dist/tasks-BZEiwgxA.mjs.map +1 -0
- package/dist/thread-documents-DrHbaXqP.d.mts +119 -0
- package/dist/thread-documents-DrHbaXqP.d.mts.map +1 -0
- package/dist/{thread-handlers-AbQbt4sX.d.mts → thread-handlers-Bef0td9N.d.mts} +10 -40
- package/dist/thread-handlers-Bef0td9N.d.mts.map +1 -0
- package/dist/{tools-CFh35R4d.mjs → tools-CEsv-WoO.mjs} +705 -578
- package/dist/tools-CEsv-WoO.mjs.map +1 -0
- package/dist/ui.css +1 -1
- package/dist/ui.d.mts +17 -55
- package/dist/ui.d.mts.map +1 -1
- package/dist/ui.mjs +759 -171
- package/dist/ui.mjs.map +1 -1
- package/docs/integration.md +51 -1
- package/package.json +49 -42
- package/dist/authoring-references-CW38pYzK.mjs.map +0 -1
- package/dist/capabilities-DVTfogjv.d.mts.map +0 -1
- package/dist/capabilities-default.mjs.map +0 -1
- package/dist/constants-BMGTgfjv.d.mts.map +0 -1
- package/dist/controller-proxy-DMTqer6T.mjs.map +0 -1
- package/dist/controller-proxy-mRvez2qw.d.mts +0 -85
- package/dist/controller-proxy-mRvez2qw.d.mts.map +0 -1
- package/dist/digest-SJmoYVaK.d.mts.map +0 -1
- package/dist/engine-CQwOAcwK.mjs.map +0 -1
- package/dist/form-authoring-kQDgC5oz.mjs +0 -155
- package/dist/form-authoring-kQDgC5oz.mjs.map +0 -1
- package/dist/index-B0lxsAzx.d.mts.map +0 -1
- package/dist/index-BS-Xjk1h.d.mts +0 -224
- package/dist/index-BS-Xjk1h.d.mts.map +0 -1
- package/dist/index-D6nqkz0O.d.mts.map +0 -1
- package/dist/index-DvTqML-0.d.mts.map +0 -1
- package/dist/lifecycle-BmGAIUlv.d.mts.map +0 -1
- package/dist/memory-thread-repository-CjFGVNZh.mjs.map +0 -1
- package/dist/protocol-DJUP4gc0.mjs.map +0 -1
- package/dist/react-Dqlmasrs.mjs +0 -768
- package/dist/react-Dqlmasrs.mjs.map +0 -1
- package/dist/request-context-BjTHNcDd.mjs.map +0 -1
- package/dist/request-guardrails-TmgQtqp4.mjs.map +0 -1
- package/dist/server-tasks.mjs.map +0 -1
- package/dist/tasks-DxzD25Zc.d.mts.map +0 -1
- package/dist/thread-documents-rmd6nyX9.d.mts +0 -107
- package/dist/thread-documents-rmd6nyX9.d.mts.map +0 -1
- package/dist/thread-handlers-AbQbt4sX.d.mts.map +0 -1
- package/dist/tools-CFh35R4d.mjs.map +0 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import "./capabilities-CmeeAjEc.mjs";
|
|
2
|
+
import "./lifecycle-Dm8u7QFh.mjs";
|
|
1
3
|
import { z } from "zod";
|
|
2
|
-
|
|
4
|
+
import { ResponseNamingEdit, ResponseSettingsEdit } from "@case-framework/survey-core/editor";
|
|
3
5
|
//#region src/protocol/errors.d.ts
|
|
4
6
|
declare const surveyAssistantErrorCodeSchema: z.ZodEnum<{
|
|
5
7
|
authorization_failed: "authorization_failed";
|
|
@@ -19,11 +21,25 @@ declare const surveyAssistantErrorInfoSchema: z.ZodObject<{
|
|
|
19
21
|
}>;
|
|
20
22
|
detail: z.ZodOptional<z.ZodString>;
|
|
21
23
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
+
upstreamStatus: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
providerRequestId: z.ZodOptional<z.ZodString>;
|
|
26
|
+
providerMessage: z.ZodOptional<z.ZodString>;
|
|
22
27
|
}, z.core.$strip>;
|
|
23
28
|
type SurveyAssistantErrorInfo = z.infer<typeof surveyAssistantErrorInfoSchema>;
|
|
29
|
+
declare const isSurveyAssistantErrorRetryable: (error: Pick<SurveyAssistantErrorInfo, "code" | "retryable" | "upstreamStatus">, httpStatus?: number) => boolean;
|
|
24
30
|
declare const serializeSurveyAssistantError: (error: SurveyAssistantErrorInfo) => string;
|
|
25
31
|
declare const parseSurveyAssistantError: (value: unknown) => SurveyAssistantErrorInfo;
|
|
26
32
|
//#endregion
|
|
33
|
+
//#region src/protocol/sanitization.d.ts
|
|
34
|
+
declare const MAX_USER_ERROR_MESSAGE_LENGTH = 700;
|
|
35
|
+
declare const redactSurveyAssistantDiagnosticSecrets: (value: string) => string;
|
|
36
|
+
declare const sanitizeSurveyAssistantDiagnosticText: (value: string, maximum?: number) => string;
|
|
37
|
+
declare const isSurveyAssistantSensitiveMetadataKey: (key: string) => boolean;
|
|
38
|
+
declare const getSurveyAssistantEmbeddedBinaryMarker: (value: unknown, parent?: Record<string, unknown>, key?: string) => {
|
|
39
|
+
characters: number;
|
|
40
|
+
redacted: "base64" | "data-url";
|
|
41
|
+
} | undefined;
|
|
42
|
+
//#endregion
|
|
27
43
|
//#region src/protocol/attachments.d.ts
|
|
28
44
|
declare const SURVEY_ASSISTANT_ATTACHMENT_MEDIA_TYPES: readonly ["application/pdf", "image/png", "image/jpeg"];
|
|
29
45
|
type SurveyAssistantAttachmentMediaType = (typeof SURVEY_ASSISTANT_ATTACHMENT_MEDIA_TYPES)[number];
|
|
@@ -91,6 +107,50 @@ type SurveyAssistantThreadTranscript = z.infer<typeof surveyAssistantThreadTrans
|
|
|
91
107
|
type CreateSurveyAssistantThreadInput = z.infer<typeof createSurveyAssistantThreadInputSchema>;
|
|
92
108
|
type UpdateSurveyAssistantThreadInput = z.infer<typeof updateSurveyAssistantThreadInputSchema>;
|
|
93
109
|
//#endregion
|
|
110
|
+
//#region src/protocol/response-settings.d.ts
|
|
111
|
+
declare const responseNamingEditSchema: z.ZodType<ResponseNamingEdit>;
|
|
112
|
+
declare const responseExportSettingsSchema: z.ZodObject<{
|
|
113
|
+
mode: z.ZodString;
|
|
114
|
+
include: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
+
categorical: z.ZodOptional<z.ZodEnum<{
|
|
116
|
+
codes: "codes";
|
|
117
|
+
labels: "labels";
|
|
118
|
+
ids: "ids";
|
|
119
|
+
}>>;
|
|
120
|
+
multiple: z.ZodOptional<z.ZodEnum<{
|
|
121
|
+
json: "json";
|
|
122
|
+
delimited: "delimited";
|
|
123
|
+
indicators: "indicators";
|
|
124
|
+
}>>;
|
|
125
|
+
delimiter: z.ZodOptional<z.ZodString>;
|
|
126
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
127
|
+
optionCodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
128
|
+
optionLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
129
|
+
booleanValues: z.ZodOptional<z.ZodObject<{
|
|
130
|
+
true: z.ZodString;
|
|
131
|
+
false: z.ZodString;
|
|
132
|
+
}, z.core.$strip>>;
|
|
133
|
+
precision: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
durationUnit: z.ZodOptional<z.ZodEnum<{
|
|
135
|
+
seconds: "seconds";
|
|
136
|
+
minutes: "minutes";
|
|
137
|
+
hours: "hours";
|
|
138
|
+
days: "days";
|
|
139
|
+
weeks: "weeks";
|
|
140
|
+
months: "months";
|
|
141
|
+
years: "years";
|
|
142
|
+
}>>;
|
|
143
|
+
dateFormat: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
pattern: z.ZodString;
|
|
145
|
+
}, z.core.$strip>>;
|
|
146
|
+
maskChar: z.ZodOptional<z.ZodString>;
|
|
147
|
+
}, z.core.$strict>;
|
|
148
|
+
declare const responseSettingsEditSchema: z.ZodType<ResponseSettingsEdit>;
|
|
149
|
+
declare const responseSettingsChangesSchema: z.ZodObject<{
|
|
150
|
+
naming: z.ZodArray<z.ZodType<ResponseNamingEdit, unknown, z.core.$ZodTypeInternals<ResponseNamingEdit, unknown>>>;
|
|
151
|
+
settings: z.ZodArray<z.ZodType<ResponseSettingsEdit, unknown, z.core.$ZodTypeInternals<ResponseSettingsEdit, unknown>>>;
|
|
152
|
+
}, z.core.$strip>;
|
|
153
|
+
//#endregion
|
|
94
154
|
//#region src/protocol/tasks.d.ts
|
|
95
155
|
declare const surveyAssistantTaskInvocationModeSchema: z.ZodEnum<{
|
|
96
156
|
background: "background";
|
|
@@ -102,8 +162,8 @@ declare const surveyAssistantSuggestedTextSchema: z.ZodObject<{
|
|
|
102
162
|
}, z.core.$strip>;
|
|
103
163
|
type SurveyAssistantSuggestedText = z.infer<typeof surveyAssistantSuggestedTextSchema>;
|
|
104
164
|
declare const surveyAssistantKeySuggestionCategorySchema: z.ZodEnum<{
|
|
105
|
-
"survey-pattern": "survey-pattern";
|
|
106
165
|
compact: "compact";
|
|
166
|
+
"survey-pattern": "survey-pattern";
|
|
107
167
|
preferred: "preferred";
|
|
108
168
|
fair: "fair";
|
|
109
169
|
}>;
|
|
@@ -111,35 +171,36 @@ type SurveyAssistantKeySuggestionCategory = z.infer<typeof surveyAssistantKeySug
|
|
|
111
171
|
declare const surveyAssistantKeySuggestionSchema: z.ZodObject<{
|
|
112
172
|
text: z.ZodString;
|
|
113
173
|
category: z.ZodEnum<{
|
|
114
|
-
"survey-pattern": "survey-pattern";
|
|
115
174
|
compact: "compact";
|
|
175
|
+
"survey-pattern": "survey-pattern";
|
|
116
176
|
preferred: "preferred";
|
|
117
177
|
fair: "fair";
|
|
118
178
|
}>;
|
|
119
179
|
rationale: z.ZodOptional<z.ZodString>;
|
|
120
180
|
}, z.core.$strip>;
|
|
121
181
|
type SurveyAssistantKeySuggestion = z.infer<typeof surveyAssistantKeySuggestionSchema>;
|
|
122
|
-
declare const
|
|
182
|
+
declare const surveyAssistantSuggestResponseNameInputSchema: z.ZodObject<{
|
|
123
183
|
itemId: z.ZodString;
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
184
|
+
slotId: z.ZodString;
|
|
185
|
+
draftName: z.ZodString;
|
|
186
|
+
currentName: z.ZodString;
|
|
187
|
+
existingNames: z.ZodArray<z.ZodString>;
|
|
127
188
|
maxSuggestions: z.ZodOptional<z.ZodNumber>;
|
|
128
189
|
}, z.core.$strip>;
|
|
129
|
-
type
|
|
130
|
-
declare const
|
|
190
|
+
type SurveyAssistantSuggestResponseNameInput = z.infer<typeof surveyAssistantSuggestResponseNameInputSchema>;
|
|
191
|
+
declare const surveyAssistantSuggestResponseNameResultSchema: z.ZodObject<{
|
|
131
192
|
suggestions: z.ZodArray<z.ZodObject<{
|
|
132
193
|
text: z.ZodString;
|
|
133
194
|
category: z.ZodEnum<{
|
|
134
|
-
"survey-pattern": "survey-pattern";
|
|
135
195
|
compact: "compact";
|
|
196
|
+
"survey-pattern": "survey-pattern";
|
|
136
197
|
preferred: "preferred";
|
|
137
198
|
fair: "fair";
|
|
138
199
|
}>;
|
|
139
200
|
rationale: z.ZodOptional<z.ZodString>;
|
|
140
201
|
}, z.core.$strip>>;
|
|
141
202
|
}, z.core.$strip>;
|
|
142
|
-
type
|
|
203
|
+
type SurveyAssistantSuggestResponseNameResult = z.infer<typeof surveyAssistantSuggestResponseNameResultSchema>;
|
|
143
204
|
type SurveyAssistantLabelSuggestion = SurveyAssistantSuggestedText;
|
|
144
205
|
declare const surveyAssistantSuggestItemLabelInputSchema: z.ZodObject<{
|
|
145
206
|
itemId: z.ZodString;
|
|
@@ -177,8 +238,8 @@ declare const surveyAssistantTranslateContentResultSchema: z.ZodObject<{
|
|
|
177
238
|
type SurveyAssistantTranslateContentResult = z.infer<typeof surveyAssistantTranslateContentResultSchema>;
|
|
178
239
|
declare const surveyAssistantTaskItemSummarySchema: z.ZodObject<{
|
|
179
240
|
id: z.ZodString;
|
|
180
|
-
|
|
181
|
-
|
|
241
|
+
editorName: z.ZodString;
|
|
242
|
+
breadcrumb: z.ZodString;
|
|
182
243
|
itemType: z.ZodString;
|
|
183
244
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
184
245
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -189,6 +250,21 @@ declare const surveyAssistantTaskItemSummarySchema: z.ZodObject<{
|
|
|
189
250
|
visibleTextTruncated: z.ZodBoolean;
|
|
190
251
|
}, z.core.$strip>;
|
|
191
252
|
type SurveyAssistantTaskItemSummary = z.infer<typeof surveyAssistantTaskItemSummarySchema>;
|
|
253
|
+
declare const surveyAssistantSuggestResponseSettingsInputSchema: z.ZodObject<{
|
|
254
|
+
slotIds: z.ZodArray<z.ZodString>;
|
|
255
|
+
category: z.ZodDefault<z.ZodEnum<{
|
|
256
|
+
compact: "compact";
|
|
257
|
+
"survey-pattern": "survey-pattern";
|
|
258
|
+
preferred: "preferred";
|
|
259
|
+
fair: "fair";
|
|
260
|
+
}>>;
|
|
261
|
+
}, z.core.$strip>;
|
|
262
|
+
type SurveyAssistantSuggestResponseSettingsInput = z.infer<typeof surveyAssistantSuggestResponseSettingsInputSchema>;
|
|
263
|
+
declare const surveyAssistantSuggestResponseSettingsResultSchema: z.ZodObject<{
|
|
264
|
+
naming: z.ZodArray<z.ZodType<import("@case-framework/survey-core/editor").ResponseNamingEdit, unknown, z.core.$ZodTypeInternals<import("@case-framework/survey-core/editor").ResponseNamingEdit, unknown>>>;
|
|
265
|
+
settings: z.ZodArray<z.ZodType<import("@case-framework/survey-core/editor").ResponseSettingsEdit, unknown, z.core.$ZodTypeInternals<import("@case-framework/survey-core/editor").ResponseSettingsEdit, unknown>>>;
|
|
266
|
+
}, z.core.$strip>;
|
|
267
|
+
type SurveyAssistantSuggestResponseSettingsResult = z.infer<typeof responseSettingsChangesSchema>;
|
|
192
268
|
declare const surveyAssistantTaskContextSchema: z.ZodObject<{
|
|
193
269
|
document: z.ZodObject<{
|
|
194
270
|
revision: z.ZodNumber;
|
|
@@ -201,11 +277,14 @@ declare const surveyAssistantTaskContextSchema: z.ZodObject<{
|
|
|
201
277
|
itemCount: z.ZodNumber;
|
|
202
278
|
selectedLocale: z.ZodString;
|
|
203
279
|
}, z.core.$strip>;
|
|
280
|
+
responseVariables: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
281
|
+
existingVariableNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
282
|
+
responseOwners: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
204
283
|
focus: z.ZodOptional<z.ZodObject<{
|
|
205
284
|
item: z.ZodObject<{
|
|
206
285
|
id: z.ZodString;
|
|
207
|
-
|
|
208
|
-
|
|
286
|
+
editorName: z.ZodString;
|
|
287
|
+
breadcrumb: z.ZodString;
|
|
209
288
|
itemType: z.ZodString;
|
|
210
289
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
211
290
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -217,8 +296,8 @@ declare const surveyAssistantTaskContextSchema: z.ZodObject<{
|
|
|
217
296
|
}, z.core.$strip>;
|
|
218
297
|
parent: z.ZodOptional<z.ZodObject<{
|
|
219
298
|
id: z.ZodString;
|
|
220
|
-
|
|
221
|
-
|
|
299
|
+
editorName: z.ZodString;
|
|
300
|
+
breadcrumb: z.ZodString;
|
|
222
301
|
itemType: z.ZodString;
|
|
223
302
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
224
303
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -230,8 +309,8 @@ declare const surveyAssistantTaskContextSchema: z.ZodObject<{
|
|
|
230
309
|
}, z.core.$strip>>;
|
|
231
310
|
ancestorPath: z.ZodArray<z.ZodObject<{
|
|
232
311
|
id: z.ZodString;
|
|
233
|
-
|
|
234
|
-
|
|
312
|
+
editorName: z.ZodString;
|
|
313
|
+
breadcrumb: z.ZodString;
|
|
235
314
|
itemType: z.ZodString;
|
|
236
315
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
237
316
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -241,11 +320,11 @@ declare const surveyAssistantTaskContextSchema: z.ZodObject<{
|
|
|
241
320
|
}, z.core.$strip>>;
|
|
242
321
|
visibleTextTruncated: z.ZodBoolean;
|
|
243
322
|
}, z.core.$strip>>;
|
|
244
|
-
|
|
323
|
+
siblingNames: z.ZodArray<z.ZodString>;
|
|
245
324
|
siblingItems: z.ZodArray<z.ZodObject<{
|
|
246
325
|
id: z.ZodString;
|
|
247
|
-
|
|
248
|
-
|
|
326
|
+
editorName: z.ZodString;
|
|
327
|
+
breadcrumb: z.ZodString;
|
|
249
328
|
itemType: z.ZodString;
|
|
250
329
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
251
330
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -259,8 +338,8 @@ declare const surveyAssistantTaskContextSchema: z.ZodObject<{
|
|
|
259
338
|
siblingItemsTruncated: z.ZodBoolean;
|
|
260
339
|
relatedItems: z.ZodArray<z.ZodObject<{
|
|
261
340
|
id: z.ZodString;
|
|
262
|
-
|
|
263
|
-
|
|
341
|
+
editorName: z.ZodString;
|
|
342
|
+
breadcrumb: z.ZodString;
|
|
264
343
|
itemType: z.ZodString;
|
|
265
344
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
266
345
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -312,12 +391,155 @@ declare const surveyAssistantTaskContextSchema: z.ZodObject<{
|
|
|
312
391
|
}, z.core.$strip>;
|
|
313
392
|
type SurveyAssistantTaskContext = z.infer<typeof surveyAssistantTaskContextSchema>;
|
|
314
393
|
declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
315
|
-
taskId: z.ZodLiteral<"suggest-
|
|
394
|
+
taskId: z.ZodLiteral<"suggest-response-settings">;
|
|
395
|
+
input: z.ZodObject<{
|
|
396
|
+
slotIds: z.ZodArray<z.ZodString>;
|
|
397
|
+
category: z.ZodDefault<z.ZodEnum<{
|
|
398
|
+
compact: "compact";
|
|
399
|
+
"survey-pattern": "survey-pattern";
|
|
400
|
+
preferred: "preferred";
|
|
401
|
+
fair: "fair";
|
|
402
|
+
}>>;
|
|
403
|
+
}, z.core.$strip>;
|
|
404
|
+
context: z.ZodObject<{
|
|
405
|
+
document: z.ZodObject<{
|
|
406
|
+
revision: z.ZodNumber;
|
|
407
|
+
contentHash: z.ZodString;
|
|
408
|
+
capabilityDigest: z.ZodString;
|
|
409
|
+
}, z.core.$strip>;
|
|
410
|
+
survey: z.ZodObject<{
|
|
411
|
+
key: z.ZodOptional<z.ZodString>;
|
|
412
|
+
locales: z.ZodArray<z.ZodString>;
|
|
413
|
+
itemCount: z.ZodNumber;
|
|
414
|
+
selectedLocale: z.ZodString;
|
|
415
|
+
}, z.core.$strip>;
|
|
416
|
+
responseVariables: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
417
|
+
existingVariableNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
418
|
+
responseOwners: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
419
|
+
focus: z.ZodOptional<z.ZodObject<{
|
|
420
|
+
item: z.ZodObject<{
|
|
421
|
+
id: z.ZodString;
|
|
422
|
+
editorName: z.ZodString;
|
|
423
|
+
breadcrumb: z.ZodString;
|
|
424
|
+
itemType: z.ZodString;
|
|
425
|
+
itemLabel: z.ZodOptional<z.ZodString>;
|
|
426
|
+
visibleText: z.ZodArray<z.ZodObject<{
|
|
427
|
+
locale: z.ZodString;
|
|
428
|
+
contentKey: z.ZodString;
|
|
429
|
+
text: z.ZodString;
|
|
430
|
+
}, z.core.$strip>>;
|
|
431
|
+
visibleTextTruncated: z.ZodBoolean;
|
|
432
|
+
}, z.core.$strip>;
|
|
433
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
434
|
+
id: z.ZodString;
|
|
435
|
+
editorName: z.ZodString;
|
|
436
|
+
breadcrumb: z.ZodString;
|
|
437
|
+
itemType: z.ZodString;
|
|
438
|
+
itemLabel: z.ZodOptional<z.ZodString>;
|
|
439
|
+
visibleText: z.ZodArray<z.ZodObject<{
|
|
440
|
+
locale: z.ZodString;
|
|
441
|
+
contentKey: z.ZodString;
|
|
442
|
+
text: z.ZodString;
|
|
443
|
+
}, z.core.$strip>>;
|
|
444
|
+
visibleTextTruncated: z.ZodBoolean;
|
|
445
|
+
}, z.core.$strip>>;
|
|
446
|
+
ancestorPath: z.ZodArray<z.ZodObject<{
|
|
447
|
+
id: z.ZodString;
|
|
448
|
+
editorName: z.ZodString;
|
|
449
|
+
breadcrumb: z.ZodString;
|
|
450
|
+
itemType: z.ZodString;
|
|
451
|
+
itemLabel: z.ZodOptional<z.ZodString>;
|
|
452
|
+
visibleText: z.ZodArray<z.ZodObject<{
|
|
453
|
+
locale: z.ZodString;
|
|
454
|
+
contentKey: z.ZodString;
|
|
455
|
+
text: z.ZodString;
|
|
456
|
+
}, z.core.$strip>>;
|
|
457
|
+
visibleTextTruncated: z.ZodBoolean;
|
|
458
|
+
}, z.core.$strip>>;
|
|
459
|
+
siblingNames: z.ZodArray<z.ZodString>;
|
|
460
|
+
siblingItems: z.ZodArray<z.ZodObject<{
|
|
461
|
+
id: z.ZodString;
|
|
462
|
+
editorName: z.ZodString;
|
|
463
|
+
breadcrumb: z.ZodString;
|
|
464
|
+
itemType: z.ZodString;
|
|
465
|
+
itemLabel: z.ZodOptional<z.ZodString>;
|
|
466
|
+
visibleText: z.ZodArray<z.ZodObject<{
|
|
467
|
+
locale: z.ZodString;
|
|
468
|
+
contentKey: z.ZodString;
|
|
469
|
+
text: z.ZodString;
|
|
470
|
+
}, z.core.$strip>>;
|
|
471
|
+
visibleTextTruncated: z.ZodBoolean;
|
|
472
|
+
}, z.core.$strip>>;
|
|
473
|
+
siblingItemCount: z.ZodNumber;
|
|
474
|
+
siblingItemsTruncated: z.ZodBoolean;
|
|
475
|
+
relatedItems: z.ZodArray<z.ZodObject<{
|
|
476
|
+
id: z.ZodString;
|
|
477
|
+
editorName: z.ZodString;
|
|
478
|
+
breadcrumb: z.ZodString;
|
|
479
|
+
itemType: z.ZodString;
|
|
480
|
+
itemLabel: z.ZodOptional<z.ZodString>;
|
|
481
|
+
visibleText: z.ZodArray<z.ZodObject<{
|
|
482
|
+
locale: z.ZodString;
|
|
483
|
+
contentKey: z.ZodString;
|
|
484
|
+
text: z.ZodString;
|
|
485
|
+
}, z.core.$strip>>;
|
|
486
|
+
visibleTextTruncated: z.ZodBoolean;
|
|
487
|
+
}, z.core.$strip>>;
|
|
488
|
+
relatedItemCount: z.ZodNumber;
|
|
489
|
+
relatedItemsTruncated: z.ZodBoolean;
|
|
490
|
+
}, z.core.$strip>>;
|
|
491
|
+
naming: z.ZodOptional<z.ZodObject<{
|
|
492
|
+
keyExamples: z.ZodArray<z.ZodObject<{
|
|
493
|
+
itemId: z.ZodString;
|
|
494
|
+
itemType: z.ZodString;
|
|
495
|
+
key: z.ZodString;
|
|
496
|
+
relationship: z.ZodEnum<{
|
|
497
|
+
survey: "survey";
|
|
498
|
+
sibling: "sibling";
|
|
499
|
+
"same-type": "same-type";
|
|
500
|
+
}>;
|
|
501
|
+
}, z.core.$strip>>;
|
|
502
|
+
keyExampleCount: z.ZodNumber;
|
|
503
|
+
keyExamplesTruncated: z.ZodBoolean;
|
|
504
|
+
labelExamples: z.ZodArray<z.ZodObject<{
|
|
505
|
+
itemId: z.ZodString;
|
|
506
|
+
itemType: z.ZodString;
|
|
507
|
+
key: z.ZodString;
|
|
508
|
+
label: z.ZodString;
|
|
509
|
+
relationship: z.ZodEnum<{
|
|
510
|
+
survey: "survey";
|
|
511
|
+
sibling: "sibling";
|
|
512
|
+
"same-type": "same-type";
|
|
513
|
+
}>;
|
|
514
|
+
}, z.core.$strip>>;
|
|
515
|
+
labelExampleCount: z.ZodNumber;
|
|
516
|
+
labelExamplesTruncated: z.ZodBoolean;
|
|
517
|
+
}, z.core.$strip>>;
|
|
518
|
+
translation: z.ZodOptional<z.ZodObject<{
|
|
519
|
+
examples: z.ZodArray<z.ZodObject<{
|
|
520
|
+
itemId: z.ZodString;
|
|
521
|
+
contentKey: z.ZodString;
|
|
522
|
+
values: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
523
|
+
}, z.core.$strip>>;
|
|
524
|
+
exampleCount: z.ZodNumber;
|
|
525
|
+
examplesTruncated: z.ZodBoolean;
|
|
526
|
+
}, z.core.$strip>>;
|
|
527
|
+
}, z.core.$strip>;
|
|
528
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
529
|
+
background: "background";
|
|
530
|
+
user: "user";
|
|
531
|
+
}>>;
|
|
532
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
533
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
534
|
+
surveyId: z.ZodOptional<z.ZodString>;
|
|
535
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
536
|
+
taskId: z.ZodLiteral<"suggest-response-name">;
|
|
316
537
|
input: z.ZodObject<{
|
|
317
538
|
itemId: z.ZodString;
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
539
|
+
slotId: z.ZodString;
|
|
540
|
+
draftName: z.ZodString;
|
|
541
|
+
currentName: z.ZodString;
|
|
542
|
+
existingNames: z.ZodArray<z.ZodString>;
|
|
321
543
|
maxSuggestions: z.ZodOptional<z.ZodNumber>;
|
|
322
544
|
}, z.core.$strip>;
|
|
323
545
|
context: z.ZodObject<{
|
|
@@ -332,11 +554,14 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
332
554
|
itemCount: z.ZodNumber;
|
|
333
555
|
selectedLocale: z.ZodString;
|
|
334
556
|
}, z.core.$strip>;
|
|
557
|
+
responseVariables: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
558
|
+
existingVariableNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
559
|
+
responseOwners: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
335
560
|
focus: z.ZodOptional<z.ZodObject<{
|
|
336
561
|
item: z.ZodObject<{
|
|
337
562
|
id: z.ZodString;
|
|
338
|
-
|
|
339
|
-
|
|
563
|
+
editorName: z.ZodString;
|
|
564
|
+
breadcrumb: z.ZodString;
|
|
340
565
|
itemType: z.ZodString;
|
|
341
566
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
342
567
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -348,8 +573,8 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
348
573
|
}, z.core.$strip>;
|
|
349
574
|
parent: z.ZodOptional<z.ZodObject<{
|
|
350
575
|
id: z.ZodString;
|
|
351
|
-
|
|
352
|
-
|
|
576
|
+
editorName: z.ZodString;
|
|
577
|
+
breadcrumb: z.ZodString;
|
|
353
578
|
itemType: z.ZodString;
|
|
354
579
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
355
580
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -361,8 +586,8 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
361
586
|
}, z.core.$strip>>;
|
|
362
587
|
ancestorPath: z.ZodArray<z.ZodObject<{
|
|
363
588
|
id: z.ZodString;
|
|
364
|
-
|
|
365
|
-
|
|
589
|
+
editorName: z.ZodString;
|
|
590
|
+
breadcrumb: z.ZodString;
|
|
366
591
|
itemType: z.ZodString;
|
|
367
592
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
368
593
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -372,11 +597,11 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
372
597
|
}, z.core.$strip>>;
|
|
373
598
|
visibleTextTruncated: z.ZodBoolean;
|
|
374
599
|
}, z.core.$strip>>;
|
|
375
|
-
|
|
600
|
+
siblingNames: z.ZodArray<z.ZodString>;
|
|
376
601
|
siblingItems: z.ZodArray<z.ZodObject<{
|
|
377
602
|
id: z.ZodString;
|
|
378
|
-
|
|
379
|
-
|
|
603
|
+
editorName: z.ZodString;
|
|
604
|
+
breadcrumb: z.ZodString;
|
|
380
605
|
itemType: z.ZodString;
|
|
381
606
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
382
607
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -390,8 +615,8 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
390
615
|
siblingItemsTruncated: z.ZodBoolean;
|
|
391
616
|
relatedItems: z.ZodArray<z.ZodObject<{
|
|
392
617
|
id: z.ZodString;
|
|
393
|
-
|
|
394
|
-
|
|
618
|
+
editorName: z.ZodString;
|
|
619
|
+
breadcrumb: z.ZodString;
|
|
395
620
|
itemType: z.ZodString;
|
|
396
621
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
397
622
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -469,11 +694,14 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
469
694
|
itemCount: z.ZodNumber;
|
|
470
695
|
selectedLocale: z.ZodString;
|
|
471
696
|
}, z.core.$strip>;
|
|
697
|
+
responseVariables: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
698
|
+
existingVariableNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
699
|
+
responseOwners: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
472
700
|
focus: z.ZodOptional<z.ZodObject<{
|
|
473
701
|
item: z.ZodObject<{
|
|
474
702
|
id: z.ZodString;
|
|
475
|
-
|
|
476
|
-
|
|
703
|
+
editorName: z.ZodString;
|
|
704
|
+
breadcrumb: z.ZodString;
|
|
477
705
|
itemType: z.ZodString;
|
|
478
706
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
479
707
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -485,8 +713,8 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
485
713
|
}, z.core.$strip>;
|
|
486
714
|
parent: z.ZodOptional<z.ZodObject<{
|
|
487
715
|
id: z.ZodString;
|
|
488
|
-
|
|
489
|
-
|
|
716
|
+
editorName: z.ZodString;
|
|
717
|
+
breadcrumb: z.ZodString;
|
|
490
718
|
itemType: z.ZodString;
|
|
491
719
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
492
720
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -498,8 +726,8 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
498
726
|
}, z.core.$strip>>;
|
|
499
727
|
ancestorPath: z.ZodArray<z.ZodObject<{
|
|
500
728
|
id: z.ZodString;
|
|
501
|
-
|
|
502
|
-
|
|
729
|
+
editorName: z.ZodString;
|
|
730
|
+
breadcrumb: z.ZodString;
|
|
503
731
|
itemType: z.ZodString;
|
|
504
732
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
505
733
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -509,11 +737,11 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
509
737
|
}, z.core.$strip>>;
|
|
510
738
|
visibleTextTruncated: z.ZodBoolean;
|
|
511
739
|
}, z.core.$strip>>;
|
|
512
|
-
|
|
740
|
+
siblingNames: z.ZodArray<z.ZodString>;
|
|
513
741
|
siblingItems: z.ZodArray<z.ZodObject<{
|
|
514
742
|
id: z.ZodString;
|
|
515
|
-
|
|
516
|
-
|
|
743
|
+
editorName: z.ZodString;
|
|
744
|
+
breadcrumb: z.ZodString;
|
|
517
745
|
itemType: z.ZodString;
|
|
518
746
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
519
747
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -527,8 +755,8 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
527
755
|
siblingItemsTruncated: z.ZodBoolean;
|
|
528
756
|
relatedItems: z.ZodArray<z.ZodObject<{
|
|
529
757
|
id: z.ZodString;
|
|
530
|
-
|
|
531
|
-
|
|
758
|
+
editorName: z.ZodString;
|
|
759
|
+
breadcrumb: z.ZodString;
|
|
532
760
|
itemType: z.ZodString;
|
|
533
761
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
534
762
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -608,11 +836,14 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
608
836
|
itemCount: z.ZodNumber;
|
|
609
837
|
selectedLocale: z.ZodString;
|
|
610
838
|
}, z.core.$strip>;
|
|
839
|
+
responseVariables: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
840
|
+
existingVariableNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
841
|
+
responseOwners: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
611
842
|
focus: z.ZodOptional<z.ZodObject<{
|
|
612
843
|
item: z.ZodObject<{
|
|
613
844
|
id: z.ZodString;
|
|
614
|
-
|
|
615
|
-
|
|
845
|
+
editorName: z.ZodString;
|
|
846
|
+
breadcrumb: z.ZodString;
|
|
616
847
|
itemType: z.ZodString;
|
|
617
848
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
618
849
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -624,8 +855,8 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
624
855
|
}, z.core.$strip>;
|
|
625
856
|
parent: z.ZodOptional<z.ZodObject<{
|
|
626
857
|
id: z.ZodString;
|
|
627
|
-
|
|
628
|
-
|
|
858
|
+
editorName: z.ZodString;
|
|
859
|
+
breadcrumb: z.ZodString;
|
|
629
860
|
itemType: z.ZodString;
|
|
630
861
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
631
862
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -637,8 +868,8 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
637
868
|
}, z.core.$strip>>;
|
|
638
869
|
ancestorPath: z.ZodArray<z.ZodObject<{
|
|
639
870
|
id: z.ZodString;
|
|
640
|
-
|
|
641
|
-
|
|
871
|
+
editorName: z.ZodString;
|
|
872
|
+
breadcrumb: z.ZodString;
|
|
642
873
|
itemType: z.ZodString;
|
|
643
874
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
644
875
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -648,11 +879,11 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
648
879
|
}, z.core.$strip>>;
|
|
649
880
|
visibleTextTruncated: z.ZodBoolean;
|
|
650
881
|
}, z.core.$strip>>;
|
|
651
|
-
|
|
882
|
+
siblingNames: z.ZodArray<z.ZodString>;
|
|
652
883
|
siblingItems: z.ZodArray<z.ZodObject<{
|
|
653
884
|
id: z.ZodString;
|
|
654
|
-
|
|
655
|
-
|
|
885
|
+
editorName: z.ZodString;
|
|
886
|
+
breadcrumb: z.ZodString;
|
|
656
887
|
itemType: z.ZodString;
|
|
657
888
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
658
889
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -666,8 +897,8 @@ declare const surveyAssistantTaskRequestSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
666
897
|
siblingItemsTruncated: z.ZodBoolean;
|
|
667
898
|
relatedItems: z.ZodArray<z.ZodObject<{
|
|
668
899
|
id: z.ZodString;
|
|
669
|
-
|
|
670
|
-
|
|
900
|
+
editorName: z.ZodString;
|
|
901
|
+
breadcrumb: z.ZodString;
|
|
671
902
|
itemType: z.ZodString;
|
|
672
903
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
673
904
|
visibleText: z.ZodArray<z.ZodObject<{
|
|
@@ -742,5 +973,5 @@ declare const surveyAssistantModelCatalogSchema: z.ZodObject<{
|
|
|
742
973
|
type SurveyAssistantModelOption = z.infer<typeof surveyAssistantModelOptionSchema>;
|
|
743
974
|
type SurveyAssistantModelCatalog = z.infer<typeof surveyAssistantModelCatalogSchema>;
|
|
744
975
|
//#endregion
|
|
745
|
-
export {
|
|
746
|
-
//# sourceMappingURL=index-
|
|
976
|
+
export { surveyAssistantThreadTranscriptSchema as $, surveyAssistantSuggestedTextSchema as A, responseSettingsChangesSchema as B, surveyAssistantKeySuggestionSchema as C, surveyAssistantSuggestResponseNameResultSchema as D, surveyAssistantSuggestResponseNameInputSchema as E, surveyAssistantTranslateContentEntrySchema as F, SurveyAssistantThread as G, CreateSurveyAssistantThreadInput as H, surveyAssistantTranslateContentInputSchema as I, SurveyAssistantThreadTranscript as J, SurveyAssistantThreadList as K, surveyAssistantTranslateContentResultSchema as L, surveyAssistantTaskInvocationModeSchema as M, surveyAssistantTaskItemSummarySchema as N, surveyAssistantSuggestResponseSettingsInputSchema as O, surveyAssistantTaskRequestSchema as P, surveyAssistantThreadSchema as Q, responseExportSettingsSchema as R, surveyAssistantKeySuggestionCategorySchema as S, surveyAssistantSuggestItemLabelResultSchema as T, SURVEY_ASSISTANT_ATTACHMENT_PART_TYPE as U, responseSettingsEditSchema as V, SurveyAssistantAttachmentReference as W, createSurveyAssistantThreadInputSchema as X, UpdateSurveyAssistantThreadInput as Y, surveyAssistantThreadListSchema as Z, SurveyAssistantTaskItemSummary as _, SurveyAssistantKeySuggestion as a, getSurveyAssistantEmbeddedBinaryMarker as at, SurveyAssistantTranslateContentInput as b, SurveyAssistantSuggestItemLabelInput as c, sanitizeSurveyAssistantDiagnosticText as ct, SurveyAssistantSuggestResponseNameResult as d, isSurveyAssistantErrorRetryable as dt, updateSurveyAssistantThreadInputSchema as et, SurveyAssistantSuggestResponseSettingsInput as f, parseSurveyAssistantError as ft, SurveyAssistantTaskInvocationMode as g, SurveyAssistantTaskContext as h, surveyAssistantErrorInfoSchema as ht, surveyAssistantModelOptionSchema as i, MAX_USER_ERROR_MESSAGE_LENGTH as it, surveyAssistantTaskContextSchema as j, surveyAssistantSuggestResponseSettingsResultSchema as k, SurveyAssistantSuggestItemLabelResult as l, SurveyAssistantErrorCode as lt, SurveyAssistantSuggestedText as m, surveyAssistantErrorCodeSchema as mt, SurveyAssistantModelOption as n, SurveyAssistantAttachmentMediaType as nt, SurveyAssistantKeySuggestionCategory as o, isSurveyAssistantSensitiveMetadataKey as ot, SurveyAssistantSuggestResponseSettingsResult as p, serializeSurveyAssistantError as pt, SurveyAssistantThreadTitleMode as q, surveyAssistantModelCatalogSchema as r, isSurveyAssistantAttachmentMediaType as rt, SurveyAssistantLabelSuggestion as s, redactSurveyAssistantDiagnosticSecrets as st, SurveyAssistantModelCatalog as t, SURVEY_ASSISTANT_ATTACHMENT_MEDIA_TYPES as tt, SurveyAssistantSuggestResponseNameInput as u, SurveyAssistantErrorInfo as ut, SurveyAssistantTaskRequest as v, surveyAssistantSuggestItemLabelInputSchema as w, SurveyAssistantTranslateContentResult as x, SurveyAssistantTranslateContentEntry as y, responseNamingEditSchema as z };
|
|
977
|
+
//# sourceMappingURL=index-D7wT6P3t.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-D7wT6P3t.d.mts","names":[],"sources":["../src/protocol/errors.ts","../src/protocol/sanitization.ts","../src/protocol/attachments.ts","../src/protocol/threads.ts","../src/protocol/response-settings.ts","../src/protocol/tasks.ts","../src/protocol/models.ts"],"mappings":"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"}
|