@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.
Files changed (135) hide show
  1. package/README.md +67 -7
  2. package/dist/{attachments-B0hg3vpT.mjs → attachments-BuNni5vB.mjs} +1 -1
  3. package/dist/{attachments-B0hg3vpT.mjs.map → attachments-BuNni5vB.mjs.map} +1 -1
  4. package/dist/{authoring-references-CW38pYzK.mjs → authoring-references-DbuOKerg.mjs} +13 -4
  5. package/dist/authoring-references-DbuOKerg.mjs.map +1 -0
  6. package/dist/{capabilities-DVTfogjv.d.mts → capabilities-CmeeAjEc.d.mts} +3 -4
  7. package/dist/capabilities-CmeeAjEc.d.mts.map +1 -0
  8. package/dist/capabilities-DCMA71PP.mjs +58 -0
  9. package/dist/capabilities-DCMA71PP.mjs.map +1 -0
  10. package/dist/capabilities-default.d.mts +13 -12
  11. package/dist/capabilities-default.d.mts.map +1 -1
  12. package/dist/capabilities-default.mjs +2 -414
  13. package/dist/{constants-BMGTgfjv.d.mts → constants-B6HzpEsx.d.mts} +7 -28
  14. package/dist/constants-B6HzpEsx.d.mts.map +1 -0
  15. package/dist/{constants-0UHGFcRJ.mjs → constants-Ct-vv9cu.mjs} +1 -1
  16. package/dist/{constants-0UHGFcRJ.mjs.map → constants-Ct-vv9cu.mjs.map} +1 -1
  17. package/dist/controller-proxy-D7uQfm5f.d.mts +65 -0
  18. package/dist/controller-proxy-D7uQfm5f.d.mts.map +1 -0
  19. package/dist/{controller-proxy-DMTqer6T.mjs → controller-proxy-DEeFl9IA.mjs} +29 -26
  20. package/dist/controller-proxy-DEeFl9IA.mjs.map +1 -0
  21. package/dist/default-fhSon2RM.mjs +760 -0
  22. package/dist/default-fhSon2RM.mjs.map +1 -0
  23. package/dist/{digest-SJmoYVaK.d.mts → digest-C39WyAWG.d.mts} +2 -3
  24. package/dist/digest-C39WyAWG.d.mts.map +1 -0
  25. package/dist/digest.d.mts +1 -1
  26. package/dist/digest.mjs.map +1 -1
  27. package/dist/{engine-CQwOAcwK.mjs → engine-nXoCWYpQ.mjs} +2821 -2018
  28. package/dist/engine-nXoCWYpQ.mjs.map +1 -0
  29. package/dist/engine.d.mts +3 -3
  30. package/dist/engine.mjs +3 -3
  31. package/dist/{fair-guidance-CRYCRxQm.mjs → fair-guidance-BmO4PswW.mjs} +1 -1
  32. package/dist/{fair-guidance-CRYCRxQm.mjs.map → fair-guidance-BmO4PswW.mjs.map} +1 -1
  33. package/dist/{index-D6nqkz0O.d.mts → index-Ciq7vHIs.d.mts} +121 -197
  34. package/dist/index-Ciq7vHIs.d.mts.map +1 -0
  35. package/dist/{index-DvTqML-0.d.mts → index-D7wT6P3t.d.mts} +294 -63
  36. package/dist/index-D7wT6P3t.d.mts.map +1 -0
  37. package/dist/index-WB5kfnz0.d.mts +348 -0
  38. package/dist/index-WB5kfnz0.d.mts.map +1 -0
  39. package/dist/{index-B0lxsAzx.d.mts → index-r5riv4md.d.mts} +50 -29
  40. package/dist/index-r5riv4md.d.mts.map +1 -0
  41. package/dist/{lifecycle-BmGAIUlv.d.mts → lifecycle-Dm8u7QFh.d.mts} +40 -18
  42. package/dist/lifecycle-Dm8u7QFh.d.mts.map +1 -0
  43. package/dist/{memory-thread-repository-CjFGVNZh.mjs → memory-thread-repository-DAnOGIB3.mjs} +89 -34
  44. package/dist/memory-thread-repository-DAnOGIB3.mjs.map +1 -0
  45. package/dist/{protocol-DJUP4gc0.mjs → protocol-CF4Bh_Ch.mjs} +182 -50
  46. package/dist/protocol-CF4Bh_Ch.mjs.map +1 -0
  47. package/dist/protocol.d.mts +4 -4
  48. package/dist/protocol.mjs +3 -3
  49. package/dist/react-C_GY-Fsc.mjs +1727 -0
  50. package/dist/react-C_GY-Fsc.mjs.map +1 -0
  51. package/dist/react-integration.d.mts +2 -2
  52. package/dist/react-integration.mjs +2 -2
  53. package/dist/react.d.mts +3 -3
  54. package/dist/react.mjs +3 -3
  55. package/dist/references/assistant-operations.md +143 -68
  56. package/dist/references/core-rules.md +6 -3
  57. package/dist/references/embedded-forms.md +34 -14
  58. package/dist/references/expressions.md +238 -48
  59. package/dist/references/fair-by-design.md +9 -9
  60. package/dist/references/item-types.md +306 -72
  61. package/dist/references/localization.md +5 -4
  62. package/dist/references/response-variables.md +38 -0
  63. package/dist/references/rich-text-content.md +60 -27
  64. package/dist/references/source-material-surveys.md +13 -5
  65. package/dist/references/survey-data-model.md +32 -9
  66. package/dist/{request-context-BjTHNcDd.mjs → request-context-Dg4jSwN1.mjs} +4 -10
  67. package/dist/request-context-Dg4jSwN1.mjs.map +1 -0
  68. package/dist/{request-guardrails-TmgQtqp4.mjs → request-guardrails-C0ugBOp0.mjs} +6 -5
  69. package/dist/request-guardrails-C0ugBOp0.mjs.map +1 -0
  70. package/dist/server-agent.d.mts +53 -44
  71. package/dist/server-agent.d.mts.map +1 -1
  72. package/dist/server-agent.mjs +48 -27
  73. package/dist/server-agent.mjs.map +1 -1
  74. package/dist/server-runtime.d.mts +36 -49
  75. package/dist/server-runtime.d.mts.map +1 -1
  76. package/dist/server-runtime.mjs +17 -12
  77. package/dist/server-runtime.mjs.map +1 -1
  78. package/dist/server-tasks.d.mts +2 -2
  79. package/dist/server-tasks.mjs +2 -313
  80. package/dist/server-tools.d.mts +1 -1
  81. package/dist/server-tools.mjs +1 -1
  82. package/dist/server.d.mts +13 -36
  83. package/dist/server.d.mts.map +1 -1
  84. package/dist/server.mjs +5 -5
  85. package/dist/server.mjs.map +1 -1
  86. package/dist/storage-postgres.d.mts +9 -25
  87. package/dist/storage-postgres.d.mts.map +1 -1
  88. package/dist/storage-postgres.mjs +5 -4
  89. package/dist/storage-postgres.mjs.map +1 -1
  90. package/dist/{tasks-DxzD25Zc.d.mts → tasks-B9h3LPam.d.mts} +19 -35
  91. package/dist/tasks-B9h3LPam.d.mts.map +1 -0
  92. package/dist/tasks-BZEiwgxA.mjs +396 -0
  93. package/dist/tasks-BZEiwgxA.mjs.map +1 -0
  94. package/dist/thread-documents-DrHbaXqP.d.mts +119 -0
  95. package/dist/thread-documents-DrHbaXqP.d.mts.map +1 -0
  96. package/dist/{thread-handlers-AbQbt4sX.d.mts → thread-handlers-Bef0td9N.d.mts} +10 -40
  97. package/dist/thread-handlers-Bef0td9N.d.mts.map +1 -0
  98. package/dist/{tools-CFh35R4d.mjs → tools-CEsv-WoO.mjs} +705 -578
  99. package/dist/tools-CEsv-WoO.mjs.map +1 -0
  100. package/dist/ui.css +1 -1
  101. package/dist/ui.d.mts +17 -55
  102. package/dist/ui.d.mts.map +1 -1
  103. package/dist/ui.mjs +759 -171
  104. package/dist/ui.mjs.map +1 -1
  105. package/docs/integration.md +51 -1
  106. package/package.json +49 -42
  107. package/dist/authoring-references-CW38pYzK.mjs.map +0 -1
  108. package/dist/capabilities-DVTfogjv.d.mts.map +0 -1
  109. package/dist/capabilities-default.mjs.map +0 -1
  110. package/dist/constants-BMGTgfjv.d.mts.map +0 -1
  111. package/dist/controller-proxy-DMTqer6T.mjs.map +0 -1
  112. package/dist/controller-proxy-mRvez2qw.d.mts +0 -85
  113. package/dist/controller-proxy-mRvez2qw.d.mts.map +0 -1
  114. package/dist/digest-SJmoYVaK.d.mts.map +0 -1
  115. package/dist/engine-CQwOAcwK.mjs.map +0 -1
  116. package/dist/form-authoring-kQDgC5oz.mjs +0 -155
  117. package/dist/form-authoring-kQDgC5oz.mjs.map +0 -1
  118. package/dist/index-B0lxsAzx.d.mts.map +0 -1
  119. package/dist/index-BS-Xjk1h.d.mts +0 -224
  120. package/dist/index-BS-Xjk1h.d.mts.map +0 -1
  121. package/dist/index-D6nqkz0O.d.mts.map +0 -1
  122. package/dist/index-DvTqML-0.d.mts.map +0 -1
  123. package/dist/lifecycle-BmGAIUlv.d.mts.map +0 -1
  124. package/dist/memory-thread-repository-CjFGVNZh.mjs.map +0 -1
  125. package/dist/protocol-DJUP4gc0.mjs.map +0 -1
  126. package/dist/react-Dqlmasrs.mjs +0 -768
  127. package/dist/react-Dqlmasrs.mjs.map +0 -1
  128. package/dist/request-context-BjTHNcDd.mjs.map +0 -1
  129. package/dist/request-guardrails-TmgQtqp4.mjs.map +0 -1
  130. package/dist/server-tasks.mjs.map +0 -1
  131. package/dist/tasks-DxzD25Zc.d.mts.map +0 -1
  132. package/dist/thread-documents-rmd6nyX9.d.mts +0 -107
  133. package/dist/thread-documents-rmd6nyX9.d.mts.map +0 -1
  134. package/dist/thread-handlers-AbQbt4sX.d.mts.map +0 -1
  135. 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 surveyAssistantSuggestItemKeyInputSchema: z.ZodObject<{
182
+ declare const surveyAssistantSuggestResponseNameInputSchema: z.ZodObject<{
123
183
  itemId: z.ZodString;
124
- draftKey: z.ZodString;
125
- currentKey: z.ZodString;
126
- siblingKeys: z.ZodArray<z.ZodString>;
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 SurveyAssistantSuggestItemKeyInput = z.infer<typeof surveyAssistantSuggestItemKeyInputSchema>;
130
- declare const surveyAssistantSuggestItemKeyResultSchema: z.ZodObject<{
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 SurveyAssistantSuggestItemKeyResult = z.infer<typeof surveyAssistantSuggestItemKeyResultSchema>;
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
- key: z.ZodString;
181
- fullKey: z.ZodString;
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
- key: z.ZodString;
208
- fullKey: z.ZodString;
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
- key: z.ZodString;
221
- fullKey: z.ZodString;
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
- key: z.ZodString;
234
- fullKey: z.ZodString;
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
- siblingKeys: z.ZodArray<z.ZodString>;
323
+ siblingNames: z.ZodArray<z.ZodString>;
245
324
  siblingItems: z.ZodArray<z.ZodObject<{
246
325
  id: z.ZodString;
247
- key: z.ZodString;
248
- fullKey: z.ZodString;
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
- key: z.ZodString;
263
- fullKey: z.ZodString;
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-item-key">;
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
- draftKey: z.ZodString;
319
- currentKey: z.ZodString;
320
- siblingKeys: z.ZodArray<z.ZodString>;
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
- key: z.ZodString;
339
- fullKey: z.ZodString;
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
- key: z.ZodString;
352
- fullKey: z.ZodString;
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
- key: z.ZodString;
365
- fullKey: z.ZodString;
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
- siblingKeys: z.ZodArray<z.ZodString>;
600
+ siblingNames: z.ZodArray<z.ZodString>;
376
601
  siblingItems: z.ZodArray<z.ZodObject<{
377
602
  id: z.ZodString;
378
- key: z.ZodString;
379
- fullKey: z.ZodString;
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
- key: z.ZodString;
394
- fullKey: z.ZodString;
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
- key: z.ZodString;
476
- fullKey: z.ZodString;
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
- key: z.ZodString;
489
- fullKey: z.ZodString;
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
- key: z.ZodString;
502
- fullKey: z.ZodString;
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
- siblingKeys: z.ZodArray<z.ZodString>;
740
+ siblingNames: z.ZodArray<z.ZodString>;
513
741
  siblingItems: z.ZodArray<z.ZodObject<{
514
742
  id: z.ZodString;
515
- key: z.ZodString;
516
- fullKey: z.ZodString;
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
- key: z.ZodString;
531
- fullKey: z.ZodString;
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
- key: z.ZodString;
615
- fullKey: z.ZodString;
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
- key: z.ZodString;
628
- fullKey: z.ZodString;
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
- key: z.ZodString;
641
- fullKey: z.ZodString;
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
- siblingKeys: z.ZodArray<z.ZodString>;
882
+ siblingNames: z.ZodArray<z.ZodString>;
652
883
  siblingItems: z.ZodArray<z.ZodObject<{
653
884
  id: z.ZodString;
654
- key: z.ZodString;
655
- fullKey: z.ZodString;
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
- key: z.ZodString;
670
- fullKey: z.ZodString;
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 { serializeSurveyAssistantError as $, surveyAssistantTaskRequestSchema as A, SurveyAssistantThreadTranscript as B, surveyAssistantSuggestItemKeyResultSchema as C, surveyAssistantTaskContextSchema as D, surveyAssistantSuggestedTextSchema as E, SURVEY_ASSISTANT_ATTACHMENT_PART_TYPE as F, surveyAssistantThreadTranscriptSchema as G, createSurveyAssistantThreadInputSchema as H, SurveyAssistantAttachmentReference as I, SurveyAssistantAttachmentMediaType as J, updateSurveyAssistantThreadInputSchema as K, SurveyAssistantThread as L, surveyAssistantTranslateContentInputSchema as M, surveyAssistantTranslateContentResultSchema as N, surveyAssistantTaskInvocationModeSchema as O, CreateSurveyAssistantThreadInput as P, parseSurveyAssistantError as Q, SurveyAssistantThreadList as R, surveyAssistantSuggestItemKeyInputSchema as S, surveyAssistantSuggestItemLabelResultSchema as T, surveyAssistantThreadListSchema as U, UpdateSurveyAssistantThreadInput as V, surveyAssistantThreadSchema as W, SurveyAssistantErrorCode as X, isSurveyAssistantAttachmentMediaType as Y, SurveyAssistantErrorInfo as Z, SurveyAssistantTranslateContentEntry as _, SurveyAssistantKeySuggestion as a, surveyAssistantKeySuggestionCategorySchema as b, SurveyAssistantSuggestItemKeyInput as c, SurveyAssistantSuggestItemLabelResult as d, surveyAssistantErrorCodeSchema as et, SurveyAssistantSuggestedText as f, SurveyAssistantTaskRequest as g, SurveyAssistantTaskItemSummary as h, surveyAssistantModelOptionSchema as i, surveyAssistantTranslateContentEntrySchema as j, surveyAssistantTaskItemSummarySchema as k, SurveyAssistantSuggestItemKeyResult as l, SurveyAssistantTaskInvocationMode as m, SurveyAssistantModelOption as n, SurveyAssistantKeySuggestionCategory as o, SurveyAssistantTaskContext as p, SURVEY_ASSISTANT_ATTACHMENT_MEDIA_TYPES as q, surveyAssistantModelCatalogSchema as r, SurveyAssistantLabelSuggestion as s, SurveyAssistantModelCatalog as t, surveyAssistantErrorInfoSchema as tt, SurveyAssistantSuggestItemLabelInput as u, SurveyAssistantTranslateContentInput as v, surveyAssistantSuggestItemLabelInputSchema as w, surveyAssistantKeySuggestionSchema as x, SurveyAssistantTranslateContentResult as y, SurveyAssistantThreadTitleMode as z };
746
- //# sourceMappingURL=index-DvTqML-0.d.mts.map
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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"}