@marketrix.ai/widget 3.8.442 → 3.8.443
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.
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* How long an activity row is kept. The timeline is informational, not an audit record, so it is
|
|
4
|
+
* bounded rather than grown forever. It lives on the contract because the reader clamp, the purge cron
|
|
5
|
+
* and the retention notice shown to the customer must all quote the SAME number.
|
|
6
|
+
*/
|
|
7
|
+
export declare const ACTIVITY_RETENTION_DAYS = 90;
|
|
2
8
|
export declare const activityLogCreate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3
9
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
4
10
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -186,6 +192,7 @@ export declare const activityLogSearch: import("@orpc/contract").ContractProcedu
|
|
|
186
192
|
delete_form_response: "delete_form_response";
|
|
187
193
|
}>>;
|
|
188
194
|
application_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
195
|
+
mine: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
189
196
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
190
197
|
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
191
198
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -451,6 +458,7 @@ export declare const activityLogRoutes: {
|
|
|
451
458
|
delete_form_response: "delete_form_response";
|
|
452
459
|
}>>;
|
|
453
460
|
application_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
461
|
+
mine: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
454
462
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
455
463
|
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
456
464
|
}, z.core.$strip>, z.ZodObject<{
|