evo360-types 1.3.362 → 1.3.363

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.
@@ -127,7 +127,7 @@ export interface IMedCalendarIntegration {
127
127
  credentials_id: string;
128
128
  /** Prefixo opcional pra namespacing de patient_id entre adapters/calendars. Default vazio. */
129
129
  patient_prefix?: string;
130
- sync_config: ISyncConfig;
130
+ sync_config?: ISyncConfig | null;
131
131
  /** Override por capability — precedência mais alta no resolver de URL. */
132
132
  workflow_overrides?: Partial<Record<CapabilityName, string>>;
133
133
  }
@@ -226,7 +226,7 @@ export interface IMedCalendarIntegration {
226
226
  credentials_id: string;
227
227
  /** Prefixo opcional pra namespacing de patient_id entre adapters/calendars. Default vazio. */
228
228
  patient_prefix?: string;
229
- sync_config: ISyncConfig;
229
+ sync_config?: ISyncConfig | null;
230
230
  /** Override por capability — precedência mais alta no resolver de URL. */
231
231
  workflow_overrides?: Partial<Record<CapabilityName, string>>;
232
232
  }
@@ -34,8 +34,8 @@ export interface IMedCalendar extends IFireDoc {
34
34
  tags?: ITag[] | null;
35
35
  userRef?: FirestoreDocumentReference;
36
36
  appointmentCounters?: IAppointmentCounters | null;
37
- available_weekdays?: number[];
38
- available_for_hubia?: boolean;
39
- integration?: IMedCalendarIntegration;
37
+ available_weekdays?: number[] | null;
38
+ available_for_hubia?: boolean | null;
39
+ integration?: IMedCalendarIntegration | null;
40
40
  [key: string]: unknown;
41
41
  }
@@ -42,10 +42,10 @@ export interface IMedCalendar extends IFireDoc {
42
42
  // Contadores de appointments
43
43
  appointmentCounters?: IAppointmentCounters | null;
44
44
  // Dias da semana em que a agenda atende (0=domingo ... 6=sábado)
45
- available_weekdays?: number[];
45
+ available_weekdays?: number[] | null;
46
46
  // Se true, a agenda é elegível para oferecer horários via HubIA
47
- available_for_hubia?: boolean;
47
+ available_for_hubia?: boolean | null;
48
48
  // Config de integração (feat-004 evo-integrations). Opcional — calendars legados mantêm n8n_wf/url/ext_urls.
49
- integration?: IMedCalendarIntegration;
49
+ integration?: IMedCalendarIntegration | null;
50
50
  [key: string]: unknown; // index signature
51
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.362",
3
+ "version": "1.3.363",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",