@marketrix.ai/widget 4.0.99 → 4.0.101
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.
|
@@ -155,7 +155,6 @@ export declare const widgetContract: {
|
|
|
155
155
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
156
156
|
type: "registered";
|
|
157
157
|
chat_id: string;
|
|
158
|
-
application_id?: number | undefined;
|
|
159
158
|
} | {
|
|
160
159
|
type: "heartbeat";
|
|
161
160
|
} | {
|
|
@@ -184,7 +183,6 @@ export declare const widgetContract: {
|
|
|
184
183
|
}, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
|
|
185
184
|
type: "registered";
|
|
186
185
|
chat_id: string;
|
|
187
|
-
application_id?: number | undefined;
|
|
188
186
|
} | {
|
|
189
187
|
type: "heartbeat";
|
|
190
188
|
} | {
|
|
@@ -56,6 +56,28 @@ export declare const UserEntitySchema: z.ZodObject<{
|
|
|
56
56
|
member: "member";
|
|
57
57
|
}>>>;
|
|
58
58
|
}, z.core.$strip>;
|
|
59
|
+
export declare const UserSummarySchema: z.ZodObject<{
|
|
60
|
+
id: z.ZodNumber;
|
|
61
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
62
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
63
|
+
is_super: z.ZodBoolean;
|
|
64
|
+
status: z.ZodEnum<{
|
|
65
|
+
created: "created";
|
|
66
|
+
active: "active";
|
|
67
|
+
suspended: "suspended";
|
|
68
|
+
}>;
|
|
69
|
+
email: z.ZodEmail;
|
|
70
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
auth_method: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
73
|
+
password: "password";
|
|
74
|
+
oauth: "oauth";
|
|
75
|
+
}>>>;
|
|
76
|
+
workspace_role: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
77
|
+
admin: "admin";
|
|
78
|
+
member: "member";
|
|
79
|
+
}>>>;
|
|
80
|
+
}, z.core.$strip>;
|
|
59
81
|
export type UserData = z.infer<typeof UserEntitySchema>;
|
|
60
82
|
export declare const WorkspaceEntitySchema: z.ZodObject<{
|
|
61
83
|
id: z.ZodNumber;
|
|
@@ -80,6 +102,27 @@ export declare const WorkspaceEntitySchema: z.ZodObject<{
|
|
|
80
102
|
notify_all_members_on_question: z.ZodBoolean;
|
|
81
103
|
}, z.core.$strip>;
|
|
82
104
|
export type WorkspaceData = z.infer<typeof WorkspaceEntitySchema>;
|
|
105
|
+
export declare const WorkspaceSummarySchema: z.ZodObject<{
|
|
106
|
+
id: z.ZodNumber;
|
|
107
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
108
|
+
updated_at: z.ZodCoercedDate<unknown>;
|
|
109
|
+
slug: z.ZodString;
|
|
110
|
+
name: z.ZodString;
|
|
111
|
+
status: z.ZodEnum<{
|
|
112
|
+
created: "created";
|
|
113
|
+
active: "active";
|
|
114
|
+
suspended: "suspended";
|
|
115
|
+
}>;
|
|
116
|
+
package: z.ZodEnum<{
|
|
117
|
+
free: "free";
|
|
118
|
+
startup: "startup";
|
|
119
|
+
growth: "growth";
|
|
120
|
+
enterprise: "enterprise";
|
|
121
|
+
}>;
|
|
122
|
+
ending_date: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
123
|
+
slack_webhook_configured: z.ZodBoolean;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
export type WorkspaceSummary = z.infer<typeof WorkspaceSummarySchema>;
|
|
83
126
|
export declare const ApplicationEntitySchema: z.ZodObject<{
|
|
84
127
|
id: z.ZodNumber;
|
|
85
128
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -105,7 +105,6 @@ export type WidgetUpdateData = z.infer<typeof WidgetUpdateSchema>;
|
|
|
105
105
|
export declare const WidgetEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
106
106
|
type: z.ZodLiteral<"registered">;
|
|
107
107
|
chat_id: z.ZodString;
|
|
108
|
-
application_id: z.ZodOptional<z.ZodNumber>;
|
|
109
108
|
}, z.core.$strip>, z.ZodObject<{
|
|
110
109
|
type: z.ZodLiteral<"heartbeat">;
|
|
111
110
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -580,7 +579,6 @@ export declare const widgetStream: import("@orpc/contract").ContractProcedureBui
|
|
|
580
579
|
}, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
581
580
|
type: "registered";
|
|
582
581
|
chat_id: string;
|
|
583
|
-
application_id?: number | undefined;
|
|
584
582
|
} | {
|
|
585
583
|
type: "heartbeat";
|
|
586
584
|
} | {
|
|
@@ -609,7 +607,6 @@ export declare const widgetStream: import("@orpc/contract").ContractProcedureBui
|
|
|
609
607
|
}, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
|
|
610
608
|
type: "registered";
|
|
611
609
|
chat_id: string;
|
|
612
|
-
application_id?: number | undefined;
|
|
613
610
|
} | {
|
|
614
611
|
type: "heartbeat";
|
|
615
612
|
} | {
|
|
@@ -1079,7 +1076,6 @@ export declare const widgetRoutes: {
|
|
|
1079
1076
|
}, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
1080
1077
|
type: "registered";
|
|
1081
1078
|
chat_id: string;
|
|
1082
|
-
application_id?: number | undefined;
|
|
1083
1079
|
} | {
|
|
1084
1080
|
type: "heartbeat";
|
|
1085
1081
|
} | {
|
|
@@ -1108,7 +1104,6 @@ export declare const widgetRoutes: {
|
|
|
1108
1104
|
}, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
|
|
1109
1105
|
type: "registered";
|
|
1110
1106
|
chat_id: string;
|
|
1111
|
-
application_id?: number | undefined;
|
|
1112
1107
|
} | {
|
|
1113
1108
|
type: "heartbeat";
|
|
1114
1109
|
} | {
|
package/dist/src/sdk/index.d.ts
CHANGED
|
@@ -156,7 +156,6 @@ export declare const sdk: {
|
|
|
156
156
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
157
157
|
type: "registered";
|
|
158
158
|
chat_id: string;
|
|
159
|
-
application_id?: number | undefined;
|
|
160
159
|
} | {
|
|
161
160
|
type: "heartbeat";
|
|
162
161
|
} | {
|
|
@@ -185,7 +184,6 @@ export declare const sdk: {
|
|
|
185
184
|
}, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
|
|
186
185
|
type: "registered";
|
|
187
186
|
chat_id: string;
|
|
188
|
-
application_id?: number | undefined;
|
|
189
187
|
} | {
|
|
190
188
|
type: "heartbeat";
|
|
191
189
|
} | {
|