@marketrix.ai/widget 3.8.442 → 3.8.444
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.
|
@@ -358,7 +358,7 @@ export declare const widgetContract: {
|
|
|
358
358
|
limit: import("zod").ZodNumber;
|
|
359
359
|
offset: import("zod").ZodNumber;
|
|
360
360
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
361
|
-
|
|
361
|
+
widgetMessagePost: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
362
362
|
chat_id: import("zod").ZodString;
|
|
363
363
|
tab_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
364
364
|
command: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -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<{
|
|
@@ -778,7 +778,7 @@ export declare const widgetStream: import("@orpc/contract").ContractProcedureBui
|
|
|
778
778
|
mode?: "show" | "do" | undefined;
|
|
779
779
|
explanation?: string | undefined;
|
|
780
780
|
}, unknown, void>>, Record<never, never>, Record<never, never>>;
|
|
781
|
-
export declare const
|
|
781
|
+
export declare const widgetMessagePost: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
782
782
|
chat_id: z.ZodString;
|
|
783
783
|
tab_id: z.ZodOptional<z.ZodString>;
|
|
784
784
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1298,7 +1298,7 @@ export declare const widgetRoutes: {
|
|
|
1298
1298
|
mode?: "show" | "do" | undefined;
|
|
1299
1299
|
explanation?: string | undefined;
|
|
1300
1300
|
}, unknown, void>>, Record<never, never>, Record<never, never>>;
|
|
1301
|
-
|
|
1301
|
+
widgetMessagePost: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1302
1302
|
chat_id: z.ZodString;
|
|
1303
1303
|
tab_id: z.ZodOptional<z.ZodString>;
|
|
1304
1304
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
package/dist/src/sdk/index.d.ts
CHANGED
|
@@ -360,7 +360,7 @@ export declare const sdk: {
|
|
|
360
360
|
limit: import("zod").ZodNumber;
|
|
361
361
|
offset: import("zod").ZodNumber;
|
|
362
362
|
}, import("zod/v4/core").$strip>, Record<never, never>>;
|
|
363
|
-
|
|
363
|
+
widgetMessagePost: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
|
|
364
364
|
chat_id: import("zod").ZodString;
|
|
365
365
|
tab_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
366
366
|
command: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|