evo360-types 1.3.252 → 1.3.260
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/calendar/zod-schemas.d.ts +30 -0
- package/dist/apps/evo-med/calendar/zod-schemas.js +6 -0
- package/dist/apps/evo-med/calendar/zod-schemas.ts +6 -0
- package/dist/types/evo-log/evo-log-event.d.ts +13 -2
- package/dist/types/evo-log/evo-log-event.ts +14 -2
- package/dist/types/evo-med/calendar/index.d.ts +4 -0
- package/dist/types/evo-med/calendar/index.ts +4 -0
- package/package.json +1 -1
|
@@ -24,6 +24,16 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
24
24
|
ext_urls: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodAny]>>>>;
|
|
25
25
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
26
26
|
external: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
27
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
28
|
+
id: z.ZodOptional<z.ZodString>;
|
|
29
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
id?: string | undefined;
|
|
32
|
+
display_name?: string | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
id?: string | undefined;
|
|
35
|
+
display_name?: string | undefined;
|
|
36
|
+
}>>;
|
|
27
37
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28
38
|
name: z.ZodString;
|
|
29
39
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -85,6 +95,16 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
85
95
|
ext_urls: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodAny]>>>>;
|
|
86
96
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
87
97
|
external: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
98
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
id: z.ZodOptional<z.ZodString>;
|
|
100
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
id?: string | undefined;
|
|
103
|
+
display_name?: string | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
id?: string | undefined;
|
|
106
|
+
display_name?: string | undefined;
|
|
107
|
+
}>>;
|
|
88
108
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
89
109
|
name: z.ZodString;
|
|
90
110
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -146,6 +166,16 @@ export declare const zMedCalendarSchema: z.ZodObject<{
|
|
|
146
166
|
ext_urls: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodAny]>>>>;
|
|
147
167
|
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
148
168
|
external: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
169
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
170
|
+
id: z.ZodOptional<z.ZodString>;
|
|
171
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
172
|
+
}, "strip", z.ZodTypeAny, {
|
|
173
|
+
id?: string | undefined;
|
|
174
|
+
display_name?: string | undefined;
|
|
175
|
+
}, {
|
|
176
|
+
id?: string | undefined;
|
|
177
|
+
display_name?: string | undefined;
|
|
178
|
+
}>>;
|
|
149
179
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
150
180
|
name: z.ZodString;
|
|
151
181
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -28,6 +28,12 @@ exports.zMedCalendarSchema = zod_schemas_1.zFireDocSchema
|
|
|
28
28
|
.optional(),
|
|
29
29
|
hidden: zod_1.z.boolean().default(false).optional(),
|
|
30
30
|
external: zod_1.z.boolean().default(true).optional(),
|
|
31
|
+
provider: zod_1.z
|
|
32
|
+
.object({
|
|
33
|
+
id: zod_1.z.string().optional(),
|
|
34
|
+
display_name: zod_1.z.string().optional(),
|
|
35
|
+
})
|
|
36
|
+
.optional(),
|
|
31
37
|
tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
|
|
32
38
|
userRef: zod_1.z.any(),
|
|
33
39
|
appointmentCounters: zod_schemas_2.zAppointmentCountersSchema.nullable().optional(),
|
|
@@ -26,6 +26,12 @@ export const zMedCalendarSchema = zFireDocSchema
|
|
|
26
26
|
.optional(),
|
|
27
27
|
hidden: z.boolean().default(false).optional(),
|
|
28
28
|
external: z.boolean().default(true).optional(),
|
|
29
|
+
provider: z
|
|
30
|
+
.object({
|
|
31
|
+
id: z.string().optional(),
|
|
32
|
+
display_name: z.string().optional(),
|
|
33
|
+
})
|
|
34
|
+
.optional(),
|
|
29
35
|
tags: z.array(zTagSchema).nullable().optional(),
|
|
30
36
|
userRef: z.any(),
|
|
31
37
|
appointmentCounters: zAppointmentCountersSchema.nullable().optional(),
|
|
@@ -37,6 +37,11 @@ export interface IEvoLogResultSummary {
|
|
|
37
37
|
summary?: string | null;
|
|
38
38
|
changedFields?: string[] | null;
|
|
39
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* JSON string used for flexible fields in BigQuery sinks.
|
|
42
|
+
* Prefer `null` when absent (avoid the literal string `"null"`).
|
|
43
|
+
*/
|
|
44
|
+
export type EvoLogJsonString = string;
|
|
40
45
|
/**
|
|
41
46
|
* Canonical audit event payload published to {@link EvoLogEventsPubSubTopic}.
|
|
42
47
|
* `params` must follow a per-endpoint whitelist (no full raw payloads).
|
|
@@ -52,8 +57,14 @@ export interface IEvoLogEvent {
|
|
|
52
57
|
actor: IEvoLogActor;
|
|
53
58
|
request: IEvoLogRequestMeta;
|
|
54
59
|
target?: IEvoLogTarget | null;
|
|
55
|
-
|
|
56
|
-
|
|
60
|
+
/**
|
|
61
|
+
* Whitelisted parameters as JSON string (sink-friendly).
|
|
62
|
+
*/
|
|
63
|
+
params: EvoLogJsonString | null;
|
|
64
|
+
/**
|
|
65
|
+
* Optional result summary as JSON string (sink-friendly).
|
|
66
|
+
*/
|
|
67
|
+
result?: EvoLogJsonString | null;
|
|
57
68
|
error?: IEvoLogError | null;
|
|
58
69
|
labels?: Record<string, string>;
|
|
59
70
|
}
|
|
@@ -45,6 +45,12 @@ export interface IEvoLogResultSummary {
|
|
|
45
45
|
changedFields?: string[] | null;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
/**
|
|
49
|
+
* JSON string used for flexible fields in BigQuery sinks.
|
|
50
|
+
* Prefer `null` when absent (avoid the literal string `"null"`).
|
|
51
|
+
*/
|
|
52
|
+
export type EvoLogJsonString = string;
|
|
53
|
+
|
|
48
54
|
/**
|
|
49
55
|
* Canonical audit event payload published to {@link EvoLogEventsPubSubTopic}.
|
|
50
56
|
* `params` must follow a per-endpoint whitelist (no full raw payloads).
|
|
@@ -60,8 +66,14 @@ export interface IEvoLogEvent {
|
|
|
60
66
|
actor: IEvoLogActor;
|
|
61
67
|
request: IEvoLogRequestMeta;
|
|
62
68
|
target?: IEvoLogTarget | null;
|
|
63
|
-
|
|
64
|
-
|
|
69
|
+
/**
|
|
70
|
+
* Whitelisted parameters as JSON string (sink-friendly).
|
|
71
|
+
*/
|
|
72
|
+
params: EvoLogJsonString | null;
|
|
73
|
+
/**
|
|
74
|
+
* Optional result summary as JSON string (sink-friendly).
|
|
75
|
+
*/
|
|
76
|
+
result?: EvoLogJsonString | null;
|
|
65
77
|
error?: IEvoLogError | null;
|
|
66
78
|
labels?: Record<string, string>;
|
|
67
79
|
}
|
|
@@ -26,6 +26,10 @@ export interface IMedCalendar extends IFireDoc {
|
|
|
26
26
|
ext_urls?: Record<string, string | number> | null;
|
|
27
27
|
hidden?: boolean;
|
|
28
28
|
external?: boolean;
|
|
29
|
+
provider?: {
|
|
30
|
+
id?: string;
|
|
31
|
+
display_name?: string;
|
|
32
|
+
};
|
|
29
33
|
tags?: ITag[] | null;
|
|
30
34
|
userRef?: FirestoreDocumentReference;
|
|
31
35
|
appointmentCounters?: IAppointmentCounters | null;
|
|
@@ -32,6 +32,10 @@ export interface IMedCalendar extends IFireDoc {
|
|
|
32
32
|
ext_urls?: Record<string, string | number> | null;
|
|
33
33
|
hidden?: boolean;
|
|
34
34
|
external?: boolean;
|
|
35
|
+
provider?: {
|
|
36
|
+
id?: string;
|
|
37
|
+
display_name?: string;
|
|
38
|
+
};
|
|
35
39
|
tags?: ITag[] | null;
|
|
36
40
|
userRef?: FirestoreDocumentReference;
|
|
37
41
|
// Contadores de appointments
|