evo360-types 1.3.690 → 1.3.693
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/dist/apps/evo-med/appointment/zod-schemas.d.ts +3 -0
- package/dist/apps/evo-med/appointment/zod-schemas.js +2 -0
- package/dist/apps/evo-med/appointment/zod-schemas.ts +3 -0
- package/dist/types/evo-med/appointment/index.d.ts +2 -0
- package/dist/types/evo-med/appointment/index.ts +3 -0
- package/package.json +1 -1
|
@@ -699,6 +699,7 @@ export declare const zAppointmentSchema: z.ZodObject<{
|
|
|
699
699
|
display_name: z.ZodNullable<z.ZodString>;
|
|
700
700
|
source: z.ZodEnum<["ui_omni", "ui_calendar", "hubia", "mcp"]>;
|
|
701
701
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
702
|
+
hubia_proposal_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
702
703
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
703
704
|
name: z.ZodString;
|
|
704
705
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1065,6 +1066,7 @@ export declare const zAppointmentSchema: z.ZodObject<{
|
|
|
1065
1066
|
display_name: z.ZodNullable<z.ZodString>;
|
|
1066
1067
|
source: z.ZodEnum<["ui_omni", "ui_calendar", "hubia", "mcp"]>;
|
|
1067
1068
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1069
|
+
hubia_proposal_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1068
1070
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1069
1071
|
name: z.ZodString;
|
|
1070
1072
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1431,6 +1433,7 @@ export declare const zAppointmentSchema: z.ZodObject<{
|
|
|
1431
1433
|
display_name: z.ZodNullable<z.ZodString>;
|
|
1432
1434
|
source: z.ZodEnum<["ui_omni", "ui_calendar", "hubia", "mcp"]>;
|
|
1433
1435
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1436
|
+
hubia_proposal_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1434
1437
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1435
1438
|
name: z.ZodString;
|
|
1436
1439
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -248,6 +248,8 @@ exports.zAppointmentSchema = zod_schemas_1.zFireDocSchema
|
|
|
248
248
|
status_external_id: zod_1.z.coerce.string().nullable().optional(),
|
|
249
249
|
// feat-193 F4 — solicitante. Local (a agenda externa não conhece o campo).
|
|
250
250
|
requested_by: exports.zAppointmentRequestedBySchema.nullable().optional(),
|
|
251
|
+
// feat-271 F2 — proposta da HubIA que originou o agendamento (aceita pela secretária).
|
|
252
|
+
hubia_proposal_id: zod_1.z.string().nullable().optional(),
|
|
251
253
|
tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
|
|
252
254
|
})
|
|
253
255
|
.passthrough();
|
|
@@ -275,6 +275,9 @@ export const zAppointmentSchema = zFireDocSchema
|
|
|
275
275
|
// feat-193 F4 — solicitante. Local (a agenda externa não conhece o campo).
|
|
276
276
|
requested_by: zAppointmentRequestedBySchema.nullable().optional(),
|
|
277
277
|
|
|
278
|
+
// feat-271 F2 — proposta da HubIA que originou o agendamento (aceita pela secretária).
|
|
279
|
+
hubia_proposal_id: z.string().nullable().optional(),
|
|
280
|
+
|
|
278
281
|
tags: z.array(zTagSchema).nullable().optional(),
|
|
279
282
|
})
|
|
280
283
|
.passthrough();
|
|
@@ -225,6 +225,8 @@ export interface IAppointment extends IFireDoc {
|
|
|
225
225
|
draftExpirationMinutes?: number | null;
|
|
226
226
|
/** feat-193 F4 — solicitante do agendamento. Ver `IAppointmentRequestedBy`. */
|
|
227
227
|
requested_by?: IAppointmentRequestedBy | null;
|
|
228
|
+
/** feat-271 F2 — proposta da HubIA (evento `hubia_proposal` na thread) que originou este agendamento. */
|
|
229
|
+
hubia_proposal_id?: string | null;
|
|
228
230
|
tags?: ITag[] | null;
|
|
229
231
|
[key: string]: unknown;
|
|
230
232
|
}
|
|
@@ -293,6 +293,9 @@ export interface IAppointment extends IFireDoc {
|
|
|
293
293
|
/** feat-193 F4 — solicitante do agendamento. Ver `IAppointmentRequestedBy`. */
|
|
294
294
|
requested_by?: IAppointmentRequestedBy | null;
|
|
295
295
|
|
|
296
|
+
/** feat-271 F2 — proposta da HubIA (evento `hubia_proposal` na thread) que originou este agendamento. */
|
|
297
|
+
hubia_proposal_id?: string | null;
|
|
298
|
+
|
|
296
299
|
tags?: ITag[] | null;
|
|
297
300
|
[key: string]: unknown; // index signature
|
|
298
301
|
}
|