evo360-types 1.3.413 → 1.3.414

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.
@@ -681,6 +681,7 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
681
681
  idempotency_key: z.ZodOptional<z.ZodString>;
682
682
  dedup_key: z.ZodOptional<z.ZodString>;
683
683
  dedup_group_key: z.ZodOptional<z.ZodString>;
684
+ force_send: z.ZodOptional<z.ZodBoolean>;
684
685
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
685
686
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
686
687
  id: z.ZodString;
@@ -782,6 +783,7 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
782
783
  idempotency_key: z.ZodOptional<z.ZodString>;
783
784
  dedup_key: z.ZodOptional<z.ZodString>;
784
785
  dedup_group_key: z.ZodOptional<z.ZodString>;
786
+ force_send: z.ZodOptional<z.ZodBoolean>;
785
787
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
786
788
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
787
789
  id: z.ZodString;
@@ -883,6 +885,7 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
883
885
  idempotency_key: z.ZodOptional<z.ZodString>;
884
886
  dedup_key: z.ZodOptional<z.ZodString>;
885
887
  dedup_group_key: z.ZodOptional<z.ZodString>;
888
+ force_send: z.ZodOptional<z.ZodBoolean>;
886
889
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
887
890
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
888
891
  id: z.ZodString;
@@ -984,6 +987,7 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
984
987
  idempotency_key: z.ZodOptional<z.ZodString>;
985
988
  dedup_key: z.ZodOptional<z.ZodString>;
986
989
  dedup_group_key: z.ZodOptional<z.ZodString>;
990
+ force_send: z.ZodOptional<z.ZodBoolean>;
987
991
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
988
992
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
989
993
  id: z.ZodString;
@@ -1085,6 +1089,7 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1085
1089
  idempotency_key: z.ZodOptional<z.ZodString>;
1086
1090
  dedup_key: z.ZodOptional<z.ZodString>;
1087
1091
  dedup_group_key: z.ZodOptional<z.ZodString>;
1092
+ force_send: z.ZodOptional<z.ZodBoolean>;
1088
1093
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1089
1094
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1090
1095
  id: z.ZodString;
@@ -1185,6 +1190,7 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1185
1190
  idempotency_key: z.ZodOptional<z.ZodString>;
1186
1191
  dedup_key: z.ZodOptional<z.ZodString>;
1187
1192
  dedup_group_key: z.ZodOptional<z.ZodString>;
1193
+ force_send: z.ZodOptional<z.ZodBoolean>;
1188
1194
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1189
1195
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1190
1196
  id: z.ZodString;
@@ -1284,6 +1290,7 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1284
1290
  idempotency_key: z.ZodOptional<z.ZodString>;
1285
1291
  dedup_key: z.ZodOptional<z.ZodString>;
1286
1292
  dedup_group_key: z.ZodOptional<z.ZodString>;
1293
+ force_send: z.ZodOptional<z.ZodBoolean>;
1287
1294
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1288
1295
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1289
1296
  id: z.ZodString;
@@ -1383,6 +1390,7 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1383
1390
  idempotency_key: z.ZodOptional<z.ZodString>;
1384
1391
  dedup_key: z.ZodOptional<z.ZodString>;
1385
1392
  dedup_group_key: z.ZodOptional<z.ZodString>;
1393
+ force_send: z.ZodOptional<z.ZodBoolean>;
1386
1394
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1387
1395
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1388
1396
  id: z.ZodString;
@@ -1482,6 +1490,7 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1482
1490
  idempotency_key: z.ZodOptional<z.ZodString>;
1483
1491
  dedup_key: z.ZodOptional<z.ZodString>;
1484
1492
  dedup_group_key: z.ZodOptional<z.ZodString>;
1493
+ force_send: z.ZodOptional<z.ZodBoolean>;
1485
1494
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1486
1495
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1487
1496
  id: z.ZodString;
@@ -1581,6 +1590,7 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1581
1590
  idempotency_key: z.ZodOptional<z.ZodString>;
1582
1591
  dedup_key: z.ZodOptional<z.ZodString>;
1583
1592
  dedup_group_key: z.ZodOptional<z.ZodString>;
1593
+ force_send: z.ZodOptional<z.ZodBoolean>;
1584
1594
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1585
1595
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1586
1596
  id: z.ZodString;
@@ -155,6 +155,9 @@ exports.zDirectSendPayloadSchema = zod_1.z
155
155
  idempotency_key: zod_1.z.string().optional(),
156
156
  dedup_key: zod_1.z.string().optional(),
157
157
  dedup_group_key: zod_1.z.string().optional(),
158
+ // Q22: hot-resend flag — bypasses the dedup_key send suppression (opt-out
159
+ // still enforced). Passthrough already allows it; declared for clarity.
160
+ force_send: zod_1.z.boolean().optional(),
158
161
  externalLinks: zod_1.z.array(zod_schemas_2.zExternalLinkSchema).optional(),
159
162
  quick_reply_actions: zod_1.z.array(zod_schemas_3.zQuickReplyActionIntentSchema).optional(),
160
163
  })
@@ -206,6 +209,9 @@ exports.zNexusDirectSendPayloadSchema = zod_1.z
206
209
  idempotency_key: zod_1.z.string().optional(),
207
210
  dedup_key: zod_1.z.string().optional(),
208
211
  dedup_group_key: zod_1.z.string().optional(),
212
+ // Q22: hot-resend flag — bypasses the dedup_key send suppression (opt-out
213
+ // still enforced). Passthrough already allows it; declared for clarity.
214
+ force_send: zod_1.z.boolean().optional(),
209
215
  externalLinks: zod_1.z.array(zod_schemas_2.zExternalLinkSchema).optional(),
210
216
  quick_reply_actions: zod_1.z.array(zod_schemas_3.zQuickReplyActionIntentSchema).optional(),
211
217
  })
@@ -170,6 +170,9 @@ export const zDirectSendPayloadSchema = z
170
170
  idempotency_key: z.string().optional(),
171
171
  dedup_key: z.string().optional(),
172
172
  dedup_group_key: z.string().optional(),
173
+ // Q22: hot-resend flag — bypasses the dedup_key send suppression (opt-out
174
+ // still enforced). Passthrough already allows it; declared for clarity.
175
+ force_send: z.boolean().optional(),
173
176
  externalLinks: z.array(zExternalLinkSchema).optional(),
174
177
  quick_reply_actions: z.array(zQuickReplyActionIntentSchema).optional(),
175
178
  })
@@ -227,6 +230,9 @@ export const zNexusDirectSendPayloadSchema = z
227
230
  idempotency_key: z.string().optional(),
228
231
  dedup_key: z.string().optional(),
229
232
  dedup_group_key: z.string().optional(),
233
+ // Q22: hot-resend flag — bypasses the dedup_key send suppression (opt-out
234
+ // still enforced). Passthrough already allows it; declared for clarity.
235
+ force_send: z.boolean().optional(),
230
236
  externalLinks: z.array(zExternalLinkSchema).optional(),
231
237
  quick_reply_actions: z.array(zQuickReplyActionIntentSchema).optional(),
232
238
  })
@@ -6311,9 +6311,12 @@ export declare const zAutomationDryRunRequestSchema: z.ZodObject<{
6311
6311
  }>;
6312
6312
  export declare const zAutomationTriggerRequestSchema: z.ZodObject<{
6313
6313
  run_date: z.ZodOptional<z.ZodString>;
6314
+ force: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6314
6315
  }, "strip", z.ZodTypeAny, {
6316
+ force: boolean;
6315
6317
  run_date?: string | undefined;
6316
6318
  }, {
6317
6319
  run_date?: string | undefined;
6320
+ force?: boolean | undefined;
6318
6321
  }>;
6319
6322
  export {};
@@ -206,10 +206,17 @@ exports.zAutomationDryRunRequestSchema = zod_1.z.object({
206
206
  // Trigger request (endpoint POST /routines/:id/trigger)
207
207
  // Same shape as the dry-run request — only an optional run_date; no
208
208
  // calendar_ids override or arbitrary payload (F2 scope, see plan-f2 §1).
209
+ //
210
+ // Q22: `force` is the "hot resend" flag. When true the run pierces BOTH dedup
211
+ // layers: (1) creation — the materializer appends a per-run suffix to the
212
+ // idempotency key so a NEW task is always created; (2) send — the task carries
213
+ // `force_send` down to notification.send, which bypasses the dedup_key skip.
214
+ // Force pierces DEDUP only; opt-out and the Q11 dry-run gate stay intact.
209
215
  // ------------------------------------------------------
210
216
  exports.zAutomationTriggerRequestSchema = zod_1.z.object({
211
217
  run_date: zod_1.z
212
218
  .string()
213
219
  .regex(/^\d{4}-\d{2}-\d{2}$/, "expected yyyy-MM-dd")
214
220
  .optional(),
221
+ force: zod_1.z.boolean().optional().default(false),
215
222
  });
@@ -242,10 +242,17 @@ export const zAutomationDryRunRequestSchema = z.object({
242
242
  // Trigger request (endpoint POST /routines/:id/trigger)
243
243
  // Same shape as the dry-run request — only an optional run_date; no
244
244
  // calendar_ids override or arbitrary payload (F2 scope, see plan-f2 §1).
245
+ //
246
+ // Q22: `force` is the "hot resend" flag. When true the run pierces BOTH dedup
247
+ // layers: (1) creation — the materializer appends a per-run suffix to the
248
+ // idempotency key so a NEW task is always created; (2) send — the task carries
249
+ // `force_send` down to notification.send, which bypasses the dedup_key skip.
250
+ // Force pierces DEDUP only; opt-out and the Q11 dry-run gate stay intact.
245
251
  // ------------------------------------------------------
246
252
  export const zAutomationTriggerRequestSchema = z.object({
247
253
  run_date: z
248
254
  .string()
249
255
  .regex(/^\d{4}-\d{2}-\d{2}$/, "expected yyyy-MM-dd")
250
256
  .optional(),
257
+ force: z.boolean().optional().default(false),
251
258
  });
@@ -126,6 +126,13 @@ export interface INotificationSendPayload {
126
126
  idempotency_key?: string;
127
127
  dedup_key?: string;
128
128
  dedup_group_key?: string;
129
+ /**
130
+ * Q22 (hub-automation "hot resend"): when true, the send bypasses the
131
+ * dedup_key suppression — a fresh message doc is created and the provider is
132
+ * called even if a message with the same dedup_key already exists. Pierces
133
+ * DEDUP only; opt-out enforcement is unaffected. Defaults to false/absent.
134
+ */
135
+ force_send?: boolean;
129
136
  [key: string]: unknown;
130
137
  }
131
138
  export interface INotificationMessage extends IFireDoc {
@@ -224,6 +224,14 @@ export interface INotificationSendPayload {
224
224
  dedup_key?: string;
225
225
  dedup_group_key?: string;
226
226
 
227
+ /**
228
+ * Q22 (hub-automation "hot resend"): when true, the send bypasses the
229
+ * dedup_key suppression — a fresh message doc is created and the provider is
230
+ * called even if a message with the same dedup_key already exists. Pierces
231
+ * DEDUP only; opt-out enforcement is unaffected. Defaults to false/absent.
232
+ */
233
+ force_send?: boolean;
234
+
227
235
  [key: string]: unknown;
228
236
  }
229
237
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.413",
3
+ "version": "1.3.414",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",