@marketrix.ai/widget 4.0.97 → 4.0.98
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.
|
@@ -65,9 +65,9 @@ export declare const activityLogSearch: import("@orpc/contract").ContractProcedu
|
|
|
65
65
|
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
66
66
|
}, z.core.$strip>, z.ZodObject<{
|
|
67
67
|
items: z.ZodArray<z.ZodObject<{
|
|
68
|
-
id: z.
|
|
69
|
-
created_at: z.
|
|
70
|
-
updated_at: z.
|
|
68
|
+
id: z.ZodNumber;
|
|
69
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
70
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
71
71
|
workspace_id: z.ZodNumber;
|
|
72
72
|
user_id: z.ZodNullable<z.ZodNumber>;
|
|
73
73
|
type: z.ZodEnum<{
|
|
@@ -183,9 +183,9 @@ export declare const activityLogRoutes: {
|
|
|
183
183
|
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
184
184
|
}, z.core.$strip>, z.ZodObject<{
|
|
185
185
|
items: z.ZodArray<z.ZodObject<{
|
|
186
|
-
id: z.
|
|
187
|
-
created_at: z.
|
|
188
|
-
updated_at: z.
|
|
186
|
+
id: z.ZodNumber;
|
|
187
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
188
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
189
189
|
workspace_id: z.ZodNumber;
|
|
190
190
|
user_id: z.ZodNullable<z.ZodNumber>;
|
|
191
191
|
type: z.ZodEnum<{
|
|
@@ -6,9 +6,9 @@ export declare const EntityStatusSchema: z.ZodEnum<{
|
|
|
6
6
|
}>;
|
|
7
7
|
export type EntityStatus = z.infer<typeof EntityStatusSchema>;
|
|
8
8
|
export declare const BaseEntitySchema: z.ZodObject<{
|
|
9
|
-
id: z.
|
|
10
|
-
created_at: z.
|
|
11
|
-
updated_at: z.
|
|
9
|
+
id: z.ZodNumber;
|
|
10
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
11
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
export declare const ByIdSchema: z.ZodObject<{
|
|
14
14
|
id: z.ZodCoercedNumber<unknown>;
|
|
@@ -32,9 +32,9 @@ export declare const WorkspaceMemberRoleSchema: z.ZodEnum<{
|
|
|
32
32
|
}>;
|
|
33
33
|
export type WorkspaceMemberRole = z.infer<typeof WorkspaceMemberRoleSchema>;
|
|
34
34
|
export declare const UserEntitySchema: z.ZodObject<{
|
|
35
|
-
id: z.
|
|
36
|
-
created_at: z.
|
|
37
|
-
updated_at: z.
|
|
35
|
+
id: z.ZodNumber;
|
|
36
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
37
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
38
38
|
is_super: z.ZodBoolean;
|
|
39
39
|
status: z.ZodEnum<{
|
|
40
40
|
created: "created";
|
|
@@ -58,9 +58,9 @@ export declare const UserEntitySchema: z.ZodObject<{
|
|
|
58
58
|
}, z.core.$strip>;
|
|
59
59
|
export type UserData = z.infer<typeof UserEntitySchema>;
|
|
60
60
|
export declare const WorkspaceEntitySchema: z.ZodObject<{
|
|
61
|
-
id: z.
|
|
62
|
-
created_at: z.
|
|
63
|
-
updated_at: z.
|
|
61
|
+
id: z.ZodNumber;
|
|
62
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
63
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
64
64
|
name: z.ZodString;
|
|
65
65
|
slug: z.ZodString;
|
|
66
66
|
status: z.ZodEnum<{
|
|
@@ -81,9 +81,9 @@ export declare const WorkspaceEntitySchema: z.ZodObject<{
|
|
|
81
81
|
}, z.core.$strip>;
|
|
82
82
|
export type WorkspaceData = z.infer<typeof WorkspaceEntitySchema>;
|
|
83
83
|
export declare const ApplicationEntitySchema: z.ZodObject<{
|
|
84
|
-
id: z.
|
|
85
|
-
created_at: z.
|
|
86
|
-
updated_at: z.
|
|
84
|
+
id: z.ZodNumber;
|
|
85
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
86
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
87
87
|
workspace_id: z.ZodNumber;
|
|
88
88
|
name: z.ZodString;
|
|
89
89
|
slug: z.ZodString;
|
|
@@ -99,9 +99,9 @@ export declare const ApplicationEntitySchema: z.ZodObject<{
|
|
|
99
99
|
export type ApplicationData = z.infer<typeof ApplicationEntitySchema>;
|
|
100
100
|
/** Used for all API responses; password is write-only and never returned to clients. */
|
|
101
101
|
export declare const ApplicationReadSchema: z.ZodObject<{
|
|
102
|
-
id: z.
|
|
103
|
-
created_at: z.
|
|
104
|
-
updated_at: z.
|
|
102
|
+
id: z.ZodNumber;
|
|
103
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
104
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
105
105
|
slug: z.ZodString;
|
|
106
106
|
type: z.ZodEnum<{
|
|
107
107
|
app: "app";
|
|
@@ -203,9 +203,9 @@ export declare const WidgetSettingsWriteSchema: z.ZodObject<{
|
|
|
203
203
|
}, z.core.$strip>;
|
|
204
204
|
export type WidgetSettingsWriteData = z.infer<typeof WidgetSettingsWriteSchema>;
|
|
205
205
|
export declare const WidgetEntitySchema: z.ZodObject<{
|
|
206
|
-
id: z.
|
|
207
|
-
created_at: z.
|
|
208
|
-
updated_at: z.
|
|
206
|
+
id: z.ZodNumber;
|
|
207
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
208
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
209
209
|
application_id: z.ZodNumber;
|
|
210
210
|
type: z.ZodEnum<{
|
|
211
211
|
widget: "widget";
|
|
@@ -358,9 +358,9 @@ export declare const ActivityLogMetadataSchema: z.ZodObject<{
|
|
|
358
358
|
created_by: z.ZodOptional<z.ZodNumber>;
|
|
359
359
|
}, z.core.$loose>;
|
|
360
360
|
export declare const ActivityLogEntitySchema: z.ZodObject<{
|
|
361
|
-
id: z.
|
|
362
|
-
created_at: z.
|
|
363
|
-
updated_at: z.
|
|
361
|
+
id: z.ZodNumber;
|
|
362
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
363
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
364
364
|
workspace_id: z.ZodNumber;
|
|
365
365
|
user_id: z.ZodNullable<z.ZodNumber>;
|
|
366
366
|
type: z.ZodEnum<{
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const WidgetCreateSchema: z.ZodObject<{
|
|
3
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
4
|
-
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
5
|
-
updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
6
3
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7
4
|
created: "created";
|
|
8
5
|
active: "active";
|
|
@@ -54,9 +51,6 @@ export declare const WidgetCreateSchema: z.ZodObject<{
|
|
|
54
51
|
}, z.core.$strip>;
|
|
55
52
|
export type WidgetCreateData = z.infer<typeof WidgetCreateSchema>;
|
|
56
53
|
export declare const WidgetUpdateSchema: z.ZodObject<{
|
|
57
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
58
|
-
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
59
|
-
updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
60
54
|
application_id: z.ZodOptional<z.ZodNumber>;
|
|
61
55
|
type: z.ZodOptional<z.ZodEnum<{
|
|
62
56
|
widget: "widget";
|
|
@@ -189,9 +183,6 @@ export declare const WidgetCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
189
183
|
}, z.core.$strip>], "type">;
|
|
190
184
|
export type WidgetCommand = z.infer<typeof WidgetCommandSchema>;
|
|
191
185
|
export declare const widgetCreate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
192
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
193
|
-
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
194
|
-
updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
195
186
|
status: z.ZodOptional<z.ZodEnum<{
|
|
196
187
|
created: "created";
|
|
197
188
|
active: "active";
|
|
@@ -241,9 +232,9 @@ export declare const widgetCreate: import("@orpc/contract").ContractProcedureBui
|
|
|
241
232
|
}, z.core.$strip>>;
|
|
242
233
|
}, z.core.$strip>>;
|
|
243
234
|
}, z.core.$strip>, z.ZodObject<{
|
|
244
|
-
id: z.
|
|
245
|
-
created_at: z.
|
|
246
|
-
updated_at: z.
|
|
235
|
+
id: z.ZodNumber;
|
|
236
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
237
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
247
238
|
application_id: z.ZodNumber;
|
|
248
239
|
type: z.ZodEnum<{
|
|
249
240
|
widget: "widget";
|
|
@@ -306,9 +297,9 @@ export declare const widgetSearch: import("@orpc/contract").ContractProcedureBui
|
|
|
306
297
|
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
307
298
|
}, z.core.$strip>, z.ZodObject<{
|
|
308
299
|
items: z.ZodArray<z.ZodObject<{
|
|
309
|
-
id: z.
|
|
310
|
-
created_at: z.
|
|
311
|
-
updated_at: z.
|
|
300
|
+
id: z.ZodNumber;
|
|
301
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
302
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
312
303
|
application_id: z.ZodNumber;
|
|
313
304
|
type: z.ZodEnum<{
|
|
314
305
|
widget: "widget";
|
|
@@ -469,9 +460,6 @@ export declare const widgetDefaultGet: import("@orpc/contract").ContractProcedur
|
|
|
469
460
|
}, z.core.$strip>>;
|
|
470
461
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
471
462
|
export declare const widgetUpdate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
472
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
473
|
-
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
474
|
-
updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
475
463
|
application_id: z.ZodOptional<z.ZodNumber>;
|
|
476
464
|
type: z.ZodOptional<z.ZodEnum<{
|
|
477
465
|
widget: "widget";
|
|
@@ -522,9 +510,9 @@ export declare const widgetUpdate: import("@orpc/contract").ContractProcedureBui
|
|
|
522
510
|
}, z.core.$strip>>;
|
|
523
511
|
widget_id: z.ZodCoercedNumber<unknown>;
|
|
524
512
|
}, z.core.$strip>, z.ZodObject<{
|
|
525
|
-
id: z.
|
|
526
|
-
created_at: z.
|
|
527
|
-
updated_at: z.
|
|
513
|
+
id: z.ZodNumber;
|
|
514
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
515
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
528
516
|
application_id: z.ZodNumber;
|
|
529
517
|
type: z.ZodEnum<{
|
|
530
518
|
widget: "widget";
|
|
@@ -693,9 +681,6 @@ export declare const widgetMessagePost: import("@orpc/contract").ContractProcedu
|
|
|
693
681
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
694
682
|
export declare const widgetRoutes: {
|
|
695
683
|
widgetCreate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
696
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
697
|
-
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
698
|
-
updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
699
684
|
status: z.ZodOptional<z.ZodEnum<{
|
|
700
685
|
created: "created";
|
|
701
686
|
active: "active";
|
|
@@ -745,9 +730,9 @@ export declare const widgetRoutes: {
|
|
|
745
730
|
}, z.core.$strip>>;
|
|
746
731
|
}, z.core.$strip>>;
|
|
747
732
|
}, z.core.$strip>, z.ZodObject<{
|
|
748
|
-
id: z.
|
|
749
|
-
created_at: z.
|
|
750
|
-
updated_at: z.
|
|
733
|
+
id: z.ZodNumber;
|
|
734
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
735
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
751
736
|
application_id: z.ZodNumber;
|
|
752
737
|
type: z.ZodEnum<{
|
|
753
738
|
widget: "widget";
|
|
@@ -810,9 +795,9 @@ export declare const widgetRoutes: {
|
|
|
810
795
|
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
811
796
|
}, z.core.$strip>, z.ZodObject<{
|
|
812
797
|
items: z.ZodArray<z.ZodObject<{
|
|
813
|
-
id: z.
|
|
814
|
-
created_at: z.
|
|
815
|
-
updated_at: z.
|
|
798
|
+
id: z.ZodNumber;
|
|
799
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
800
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
816
801
|
application_id: z.ZodNumber;
|
|
817
802
|
type: z.ZodEnum<{
|
|
818
803
|
widget: "widget";
|
|
@@ -973,9 +958,6 @@ export declare const widgetRoutes: {
|
|
|
973
958
|
}, z.core.$strip>>;
|
|
974
959
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
975
960
|
widgetUpdate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
976
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
977
|
-
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
978
|
-
updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
979
961
|
application_id: z.ZodOptional<z.ZodNumber>;
|
|
980
962
|
type: z.ZodOptional<z.ZodEnum<{
|
|
981
963
|
widget: "widget";
|
|
@@ -1026,9 +1008,9 @@ export declare const widgetRoutes: {
|
|
|
1026
1008
|
}, z.core.$strip>>;
|
|
1027
1009
|
widget_id: z.ZodCoercedNumber<unknown>;
|
|
1028
1010
|
}, z.core.$strip>, z.ZodObject<{
|
|
1029
|
-
id: z.
|
|
1030
|
-
created_at: z.
|
|
1031
|
-
updated_at: z.
|
|
1011
|
+
id: z.ZodNumber;
|
|
1012
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1013
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
1032
1014
|
application_id: z.ZodNumber;
|
|
1033
1015
|
type: z.ZodEnum<{
|
|
1034
1016
|
widget: "widget";
|