evo360-types 1.3.371 → 1.3.373

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.
@@ -4,7 +4,8 @@ export declare const zInboxSchema: z.ZodObject<{
4
4
  model_ver: z.ZodDefault<z.ZodNumber>;
5
5
  name: z.ZodString;
6
6
  type: z.ZodEnum<["personal", "team", "supervisor_view"]>;
7
- status: z.ZodEnum<["active", "paused", "disabled"]>;
7
+ /** @deprecated Eliminado em feat-025-omni-inboxes-v2. Aceita por compat com docs legados. */
8
+ status: z.ZodOptional<z.ZodEnum<["active", "paused", "disabled"]>>;
8
9
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
9
10
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
10
11
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -12,7 +13,8 @@ export declare const zInboxSchema: z.ZodObject<{
12
13
  model_ver: z.ZodDefault<z.ZodNumber>;
13
14
  name: z.ZodString;
14
15
  type: z.ZodEnum<["personal", "team", "supervisor_view"]>;
15
- status: z.ZodEnum<["active", "paused", "disabled"]>;
16
+ /** @deprecated Eliminado em feat-025-omni-inboxes-v2. Aceita por compat com docs legados. */
17
+ status: z.ZodOptional<z.ZodEnum<["active", "paused", "disabled"]>>;
16
18
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
17
19
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
18
20
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -20,7 +22,8 @@ export declare const zInboxSchema: z.ZodObject<{
20
22
  model_ver: z.ZodDefault<z.ZodNumber>;
21
23
  name: z.ZodString;
22
24
  type: z.ZodEnum<["personal", "team", "supervisor_view"]>;
23
- status: z.ZodEnum<["active", "paused", "disabled"]>;
25
+ /** @deprecated Eliminado em feat-025-omni-inboxes-v2. Aceita por compat com docs legados. */
26
+ status: z.ZodOptional<z.ZodEnum<["active", "paused", "disabled"]>>;
24
27
  created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
25
28
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
26
29
  }, z.ZodTypeAny, "passthrough">>;
@@ -7,7 +7,8 @@ exports.zInboxSchema = zod_1.z.object({
7
7
  model_ver: zod_1.z.number().default(1),
8
8
  name: zod_1.z.string(),
9
9
  type: zod_1.z.enum(['personal', 'team', 'supervisor_view']),
10
- status: zod_1.z.enum(['active', 'paused', 'disabled']),
10
+ /** @deprecated Eliminado em feat-025-omni-inboxes-v2. Aceita por compat com docs legados. */
11
+ status: zod_1.z.enum(['active', 'paused', 'disabled']).optional(),
11
12
  created_at: zod_1.z.coerce.date().nullable().optional(),
12
13
  updated_at: zod_1.z.coerce.date().nullable().optional(),
13
14
  }).passthrough();
@@ -5,7 +5,8 @@ export const zInboxSchema = z.object({
5
5
  model_ver: z.number().default(1),
6
6
  name: z.string(),
7
7
  type: z.enum(['personal', 'team', 'supervisor_view']),
8
- status: z.enum(['active', 'paused', 'disabled']),
8
+ /** @deprecated Eliminado em feat-025-omni-inboxes-v2. Aceita por compat com docs legados. */
9
+ status: z.enum(['active', 'paused', 'disabled']).optional(),
9
10
  created_at: z.coerce.date().nullable().optional(),
10
11
  updated_at: z.coerce.date().nullable().optional(),
11
12
  }).passthrough();
@@ -13,7 +13,13 @@ export type HubiaConversationMode = 'ai_only' | 'ai_suggest' | 'human_only' | 'h
13
13
  export interface IInbox extends IFireGlobalDoc {
14
14
  name: string;
15
15
  type: InboxType;
16
- status: InboxStatus;
16
+ /**
17
+ * @deprecated Eliminado em feat-025-omni-inboxes-v2 — inboxes que existem
18
+ * são sempre ativas (hard-delete é a única forma de "desativar"). Mantido
19
+ * opcional apenas para compatibilidade com documentos legados que possam
20
+ * ter o field gravado.
21
+ */
22
+ status?: InboxStatus;
17
23
  [key: string]: unknown;
18
24
  }
19
25
  export interface IInboxMemberPermissions {
@@ -25,7 +25,13 @@ export type HubiaConversationMode =
25
25
  export interface IInbox extends IFireGlobalDoc {
26
26
  name: string;
27
27
  type: InboxType;
28
- status: InboxStatus;
28
+ /**
29
+ * @deprecated Eliminado em feat-025-omni-inboxes-v2 — inboxes que existem
30
+ * são sempre ativas (hard-delete é a única forma de "desativar"). Mantido
31
+ * opcional apenas para compatibilidade com documentos legados que possam
32
+ * ter o field gravado.
33
+ */
34
+ status?: InboxStatus;
29
35
  [key: string]: unknown;
30
36
  }
31
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.371",
3
+ "version": "1.3.373",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",