evo360-types 1.3.397 → 1.3.399

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.
@@ -83,6 +83,19 @@ export declare const zQuickReplyActionSchema: z.ZodObject<{
83
83
  template_name: z.ZodOptional<z.ZodString>;
84
84
  button_index: z.ZodOptional<z.ZodNumber>;
85
85
  button_label: z.ZodOptional<z.ZodString>;
86
+ /** Task that originated this action (e.g. the appointment_reminder task). */
87
+ task_id: z.ZodOptional<z.ZodString>;
88
+ /** Channel used to deliver/respond (evo-chat channel id). Snapshot at send —
89
+ * the reply (feat-056) is sent through this channel. */
90
+ channel_id: z.ZodOptional<z.ZodString>;
91
+ /** How the action was produced: a Task Runner task, a routine, or a manual send. */
92
+ source_type: z.ZodOptional<z.ZodEnum<["task", "routine", "manual"]>>;
93
+ /** Quick-reply (hub-omni) whose text is the patient-facing RESPONSE on success.
94
+ * Snapshot of the agenda config (feat-048) at send time — one per action
95
+ * (confirm carries on_confirm_quick_reply_id, reschedule the reschedule one).
96
+ * Rendered by the placeholder engine (feat-055) in the appointment_action
97
+ * handler (feat-050) — NOT sent on click. */
98
+ response_quick_reply_id: z.ZodOptional<z.ZodString>;
86
99
  /** Link to evo-chat thread/ticket (for timeline events) */
87
100
  thread_id: z.ZodOptional<z.ZodString>;
88
101
  ticket_id: z.ZodOptional<z.ZodString>;
@@ -154,6 +167,19 @@ export declare const zQuickReplyActionSchema: z.ZodObject<{
154
167
  template_name: z.ZodOptional<z.ZodString>;
155
168
  button_index: z.ZodOptional<z.ZodNumber>;
156
169
  button_label: z.ZodOptional<z.ZodString>;
170
+ /** Task that originated this action (e.g. the appointment_reminder task). */
171
+ task_id: z.ZodOptional<z.ZodString>;
172
+ /** Channel used to deliver/respond (evo-chat channel id). Snapshot at send —
173
+ * the reply (feat-056) is sent through this channel. */
174
+ channel_id: z.ZodOptional<z.ZodString>;
175
+ /** How the action was produced: a Task Runner task, a routine, or a manual send. */
176
+ source_type: z.ZodOptional<z.ZodEnum<["task", "routine", "manual"]>>;
177
+ /** Quick-reply (hub-omni) whose text is the patient-facing RESPONSE on success.
178
+ * Snapshot of the agenda config (feat-048) at send time — one per action
179
+ * (confirm carries on_confirm_quick_reply_id, reschedule the reschedule one).
180
+ * Rendered by the placeholder engine (feat-055) in the appointment_action
181
+ * handler (feat-050) — NOT sent on click. */
182
+ response_quick_reply_id: z.ZodOptional<z.ZodString>;
157
183
  /** Link to evo-chat thread/ticket (for timeline events) */
158
184
  thread_id: z.ZodOptional<z.ZodString>;
159
185
  ticket_id: z.ZodOptional<z.ZodString>;
@@ -225,6 +251,19 @@ export declare const zQuickReplyActionSchema: z.ZodObject<{
225
251
  template_name: z.ZodOptional<z.ZodString>;
226
252
  button_index: z.ZodOptional<z.ZodNumber>;
227
253
  button_label: z.ZodOptional<z.ZodString>;
254
+ /** Task that originated this action (e.g. the appointment_reminder task). */
255
+ task_id: z.ZodOptional<z.ZodString>;
256
+ /** Channel used to deliver/respond (evo-chat channel id). Snapshot at send —
257
+ * the reply (feat-056) is sent through this channel. */
258
+ channel_id: z.ZodOptional<z.ZodString>;
259
+ /** How the action was produced: a Task Runner task, a routine, or a manual send. */
260
+ source_type: z.ZodOptional<z.ZodEnum<["task", "routine", "manual"]>>;
261
+ /** Quick-reply (hub-omni) whose text is the patient-facing RESPONSE on success.
262
+ * Snapshot of the agenda config (feat-048) at send time — one per action
263
+ * (confirm carries on_confirm_quick_reply_id, reschedule the reschedule one).
264
+ * Rendered by the placeholder engine (feat-055) in the appointment_action
265
+ * handler (feat-050) — NOT sent on click. */
266
+ response_quick_reply_id: z.ZodOptional<z.ZodString>;
228
267
  /** Link to evo-chat thread/ticket (for timeline events) */
229
268
  thread_id: z.ZodOptional<z.ZodString>;
230
269
  ticket_id: z.ZodOptional<z.ZodString>;
@@ -60,6 +60,20 @@ exports.zQuickReplyActionSchema = zod_schemas_1.zFireDocSchema
60
60
  template_name: zod_1.z.string().optional(),
61
61
  button_index: zod_1.z.number().optional(),
62
62
  button_label: zod_1.z.string().optional(),
63
+ // ── Proveniência (feat-056) ────────────────────────────────────────────
64
+ /** Task that originated this action (e.g. the appointment_reminder task). */
65
+ task_id: zod_1.z.string().optional(),
66
+ /** Channel used to deliver/respond (evo-chat channel id). Snapshot at send —
67
+ * the reply (feat-056) is sent through this channel. */
68
+ channel_id: zod_1.z.string().optional(),
69
+ /** How the action was produced: a Task Runner task, a routine, or a manual send. */
70
+ source_type: zod_1.z.enum(["task", "routine", "manual"]).optional(),
71
+ /** Quick-reply (hub-omni) whose text is the patient-facing RESPONSE on success.
72
+ * Snapshot of the agenda config (feat-048) at send time — one per action
73
+ * (confirm carries on_confirm_quick_reply_id, reschedule the reschedule one).
74
+ * Rendered by the placeholder engine (feat-055) in the appointment_action
75
+ * handler (feat-050) — NOT sent on click. */
76
+ response_quick_reply_id: zod_1.z.string().optional(),
63
77
  /** Link to evo-chat thread/ticket (for timeline events) */
64
78
  thread_id: zod_1.z.string().optional(),
65
79
  ticket_id: zod_1.z.string().optional(),
@@ -68,6 +68,21 @@ export const zQuickReplyActionSchema = zFireDocSchema
68
68
  button_index: z.number().optional(),
69
69
  button_label: z.string().optional(),
70
70
 
71
+ // ── Proveniência (feat-056) ────────────────────────────────────────────
72
+ /** Task that originated this action (e.g. the appointment_reminder task). */
73
+ task_id: z.string().optional(),
74
+ /** Channel used to deliver/respond (evo-chat channel id). Snapshot at send —
75
+ * the reply (feat-056) is sent through this channel. */
76
+ channel_id: z.string().optional(),
77
+ /** How the action was produced: a Task Runner task, a routine, or a manual send. */
78
+ source_type: z.enum(["task", "routine", "manual"]).optional(),
79
+ /** Quick-reply (hub-omni) whose text is the patient-facing RESPONSE on success.
80
+ * Snapshot of the agenda config (feat-048) at send time — one per action
81
+ * (confirm carries on_confirm_quick_reply_id, reschedule the reschedule one).
82
+ * Rendered by the placeholder engine (feat-055) in the appointment_action
83
+ * handler (feat-050) — NOT sent on click. */
84
+ response_quick_reply_id: z.string().optional(),
85
+
71
86
  /** Link to evo-chat thread/ticket (for timeline events) */
72
87
  thread_id: z.string().optional(),
73
88
  ticket_id: z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.397",
3
+ "version": "1.3.399",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",