@marketrix.ai/widget 3.8.3 → 3.8.9
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.
- package/dist/src/context/sseReducer.d.ts +1 -1
- package/dist/src/context/sseReducer.d.ts.map +1 -1
- package/dist/src/sdk/contract.d.ts +806 -0
- package/dist/src/sdk/contract.d.ts.map +1 -0
- package/dist/src/sdk/contracts/activityLog.d.ts +420 -0
- package/dist/src/sdk/contracts/activityLog.d.ts.map +1 -0
- package/dist/src/sdk/contracts/agent.d.ts +3243 -0
- package/dist/src/sdk/contracts/agent.d.ts.map +1 -0
- package/dist/src/sdk/contracts/application.d.ts +525 -0
- package/dist/src/sdk/contracts/application.d.ts.map +1 -0
- package/dist/src/sdk/contracts/chat.d.ts +6 -0
- package/dist/src/sdk/contracts/chat.d.ts.map +1 -0
- package/dist/src/sdk/contracts/common.d.ts +168 -0
- package/dist/src/sdk/contracts/common.d.ts.map +1 -0
- package/dist/src/sdk/contracts/entities.d.ts +935 -0
- package/dist/src/sdk/contracts/entities.d.ts.map +1 -0
- package/dist/src/sdk/contracts/widget.d.ts +2426 -0
- package/dist/src/sdk/contracts/widget.d.ts.map +1 -0
- package/dist/src/sdk/index.d.ts +411 -7498
- package/dist/src/sdk/index.d.ts.map +1 -1
- package/dist/src/services/ApiService.d.ts.map +1 -1
- package/dist/src/services/StreamClient.d.ts +1 -1
- package/dist/src/services/StreamClient.d.ts.map +1 -1
- package/dist/widget.mjs +65 -65
- package/dist/widget.mjs.map +1 -1
- package/package.json +2 -1
- package/dist/src/sdk/routes.d.ts +0 -7901
- package/dist/src/sdk/routes.d.ts.map +0 -1
- package/dist/src/sdk/schema.d.ts +0 -6584
- package/dist/src/sdk/schema.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../src/sdk/contract.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS1B,CAAC"}
|
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const activityLogCreate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<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
|
+
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
user_id: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
9
|
+
details: z.ZodOptional<z.ZodString>;
|
|
10
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
type: z.ZodOptional<z.ZodString>;
|
|
12
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13
|
+
target_user_id: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
target_user_email: z.ZodOptional<z.ZodString>;
|
|
15
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
16
|
+
assigned_role: z.ZodOptional<z.ZodString>;
|
|
17
|
+
new_role: z.ZodOptional<z.ZodString>;
|
|
18
|
+
previous_role: z.ZodOptional<z.ZodString>;
|
|
19
|
+
workspace_name: z.ZodOptional<z.ZodString>;
|
|
20
|
+
workspace_slug: z.ZodOptional<z.ZodString>;
|
|
21
|
+
ip_address: z.ZodOptional<z.ZodString>;
|
|
22
|
+
user_agent: z.ZodOptional<z.ZodString>;
|
|
23
|
+
widget_type: z.ZodOptional<z.ZodString>;
|
|
24
|
+
created_by: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
|
+
type: z.ZodEnum<{
|
|
27
|
+
user_login: "user_login";
|
|
28
|
+
url_visit: "url_visit";
|
|
29
|
+
update_workspace: "update_workspace";
|
|
30
|
+
create_user: "create_user";
|
|
31
|
+
update_user: "update_user";
|
|
32
|
+
delete_user: "delete_user";
|
|
33
|
+
create_agent: "create_agent";
|
|
34
|
+
update_agent: "update_agent";
|
|
35
|
+
delete_agent: "delete_agent";
|
|
36
|
+
create_application: "create_application";
|
|
37
|
+
update_application: "update_application";
|
|
38
|
+
delete_application: "delete_application";
|
|
39
|
+
create_widget: "create_widget";
|
|
40
|
+
update_widget: "update_widget";
|
|
41
|
+
delete_widget: "delete_widget";
|
|
42
|
+
create_knowledge: "create_knowledge";
|
|
43
|
+
update_knowledge: "update_knowledge";
|
|
44
|
+
delete_knowledge: "delete_knowledge";
|
|
45
|
+
approve_user: "approve_user";
|
|
46
|
+
deny_user: "deny_user";
|
|
47
|
+
request_workspace: "request_workspace";
|
|
48
|
+
widget_question: "widget_question";
|
|
49
|
+
qa_run_started: "qa_run_started";
|
|
50
|
+
start_simulation: "start_simulation";
|
|
51
|
+
create_automation: "create_automation";
|
|
52
|
+
update_automation: "update_automation";
|
|
53
|
+
delete_automation: "delete_automation";
|
|
54
|
+
toggle_automation: "toggle_automation";
|
|
55
|
+
slack_command: "slack_command";
|
|
56
|
+
}>;
|
|
57
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
59
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
60
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
61
|
+
workspace_id: z.ZodNumber;
|
|
62
|
+
user_id: z.ZodNumber;
|
|
63
|
+
type: z.ZodEnum<{
|
|
64
|
+
user_login: "user_login";
|
|
65
|
+
url_visit: "url_visit";
|
|
66
|
+
update_workspace: "update_workspace";
|
|
67
|
+
create_user: "create_user";
|
|
68
|
+
update_user: "update_user";
|
|
69
|
+
delete_user: "delete_user";
|
|
70
|
+
create_agent: "create_agent";
|
|
71
|
+
update_agent: "update_agent";
|
|
72
|
+
delete_agent: "delete_agent";
|
|
73
|
+
create_application: "create_application";
|
|
74
|
+
update_application: "update_application";
|
|
75
|
+
delete_application: "delete_application";
|
|
76
|
+
create_widget: "create_widget";
|
|
77
|
+
update_widget: "update_widget";
|
|
78
|
+
delete_widget: "delete_widget";
|
|
79
|
+
create_knowledge: "create_knowledge";
|
|
80
|
+
update_knowledge: "update_knowledge";
|
|
81
|
+
delete_knowledge: "delete_knowledge";
|
|
82
|
+
approve_user: "approve_user";
|
|
83
|
+
deny_user: "deny_user";
|
|
84
|
+
request_workspace: "request_workspace";
|
|
85
|
+
widget_question: "widget_question";
|
|
86
|
+
qa_run_started: "qa_run_started";
|
|
87
|
+
start_simulation: "start_simulation";
|
|
88
|
+
create_automation: "create_automation";
|
|
89
|
+
update_automation: "update_automation";
|
|
90
|
+
delete_automation: "delete_automation";
|
|
91
|
+
toggle_automation: "toggle_automation";
|
|
92
|
+
slack_command: "slack_command";
|
|
93
|
+
}>;
|
|
94
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
95
|
+
details: z.ZodOptional<z.ZodString>;
|
|
96
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
type: z.ZodOptional<z.ZodString>;
|
|
98
|
+
name: z.ZodOptional<z.ZodString>;
|
|
99
|
+
target_user_id: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
target_user_email: z.ZodOptional<z.ZodString>;
|
|
101
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
102
|
+
assigned_role: z.ZodOptional<z.ZodString>;
|
|
103
|
+
new_role: z.ZodOptional<z.ZodString>;
|
|
104
|
+
previous_role: z.ZodOptional<z.ZodString>;
|
|
105
|
+
workspace_name: z.ZodOptional<z.ZodString>;
|
|
106
|
+
workspace_slug: z.ZodOptional<z.ZodString>;
|
|
107
|
+
ip_address: z.ZodOptional<z.ZodString>;
|
|
108
|
+
user_agent: z.ZodOptional<z.ZodString>;
|
|
109
|
+
widget_type: z.ZodOptional<z.ZodString>;
|
|
110
|
+
created_by: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
}, z.core.$loose>>;
|
|
112
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
113
|
+
export declare const activityLogSearch: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
114
|
+
workspace_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
115
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
116
|
+
user_login: "user_login";
|
|
117
|
+
url_visit: "url_visit";
|
|
118
|
+
update_workspace: "update_workspace";
|
|
119
|
+
create_user: "create_user";
|
|
120
|
+
update_user: "update_user";
|
|
121
|
+
delete_user: "delete_user";
|
|
122
|
+
create_agent: "create_agent";
|
|
123
|
+
update_agent: "update_agent";
|
|
124
|
+
delete_agent: "delete_agent";
|
|
125
|
+
create_application: "create_application";
|
|
126
|
+
update_application: "update_application";
|
|
127
|
+
delete_application: "delete_application";
|
|
128
|
+
create_widget: "create_widget";
|
|
129
|
+
update_widget: "update_widget";
|
|
130
|
+
delete_widget: "delete_widget";
|
|
131
|
+
create_knowledge: "create_knowledge";
|
|
132
|
+
update_knowledge: "update_knowledge";
|
|
133
|
+
delete_knowledge: "delete_knowledge";
|
|
134
|
+
approve_user: "approve_user";
|
|
135
|
+
deny_user: "deny_user";
|
|
136
|
+
request_workspace: "request_workspace";
|
|
137
|
+
widget_question: "widget_question";
|
|
138
|
+
qa_run_started: "qa_run_started";
|
|
139
|
+
start_simulation: "start_simulation";
|
|
140
|
+
create_automation: "create_automation";
|
|
141
|
+
update_automation: "update_automation";
|
|
142
|
+
delete_automation: "delete_automation";
|
|
143
|
+
toggle_automation: "toggle_automation";
|
|
144
|
+
slack_command: "slack_command";
|
|
145
|
+
}>>;
|
|
146
|
+
application_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
147
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
148
|
+
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
150
|
+
items: z.ZodArray<z.ZodObject<{
|
|
151
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
153
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
154
|
+
workspace_id: z.ZodNumber;
|
|
155
|
+
user_id: z.ZodNumber;
|
|
156
|
+
type: z.ZodEnum<{
|
|
157
|
+
user_login: "user_login";
|
|
158
|
+
url_visit: "url_visit";
|
|
159
|
+
update_workspace: "update_workspace";
|
|
160
|
+
create_user: "create_user";
|
|
161
|
+
update_user: "update_user";
|
|
162
|
+
delete_user: "delete_user";
|
|
163
|
+
create_agent: "create_agent";
|
|
164
|
+
update_agent: "update_agent";
|
|
165
|
+
delete_agent: "delete_agent";
|
|
166
|
+
create_application: "create_application";
|
|
167
|
+
update_application: "update_application";
|
|
168
|
+
delete_application: "delete_application";
|
|
169
|
+
create_widget: "create_widget";
|
|
170
|
+
update_widget: "update_widget";
|
|
171
|
+
delete_widget: "delete_widget";
|
|
172
|
+
create_knowledge: "create_knowledge";
|
|
173
|
+
update_knowledge: "update_knowledge";
|
|
174
|
+
delete_knowledge: "delete_knowledge";
|
|
175
|
+
approve_user: "approve_user";
|
|
176
|
+
deny_user: "deny_user";
|
|
177
|
+
request_workspace: "request_workspace";
|
|
178
|
+
widget_question: "widget_question";
|
|
179
|
+
qa_run_started: "qa_run_started";
|
|
180
|
+
start_simulation: "start_simulation";
|
|
181
|
+
create_automation: "create_automation";
|
|
182
|
+
update_automation: "update_automation";
|
|
183
|
+
delete_automation: "delete_automation";
|
|
184
|
+
toggle_automation: "toggle_automation";
|
|
185
|
+
slack_command: "slack_command";
|
|
186
|
+
}>;
|
|
187
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
188
|
+
details: z.ZodOptional<z.ZodString>;
|
|
189
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
190
|
+
type: z.ZodOptional<z.ZodString>;
|
|
191
|
+
name: z.ZodOptional<z.ZodString>;
|
|
192
|
+
target_user_id: z.ZodOptional<z.ZodNumber>;
|
|
193
|
+
target_user_email: z.ZodOptional<z.ZodString>;
|
|
194
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
195
|
+
assigned_role: z.ZodOptional<z.ZodString>;
|
|
196
|
+
new_role: z.ZodOptional<z.ZodString>;
|
|
197
|
+
previous_role: z.ZodOptional<z.ZodString>;
|
|
198
|
+
workspace_name: z.ZodOptional<z.ZodString>;
|
|
199
|
+
workspace_slug: z.ZodOptional<z.ZodString>;
|
|
200
|
+
ip_address: z.ZodOptional<z.ZodString>;
|
|
201
|
+
user_agent: z.ZodOptional<z.ZodString>;
|
|
202
|
+
widget_type: z.ZodOptional<z.ZodString>;
|
|
203
|
+
created_by: z.ZodOptional<z.ZodNumber>;
|
|
204
|
+
}, z.core.$loose>>;
|
|
205
|
+
}, z.core.$strip>>;
|
|
206
|
+
total: z.ZodNumber;
|
|
207
|
+
limit: z.ZodNumber;
|
|
208
|
+
offset: z.ZodNumber;
|
|
209
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
210
|
+
export declare const activityLogRoutes: {
|
|
211
|
+
activityLogCreate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
212
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
213
|
+
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
214
|
+
updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
215
|
+
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
216
|
+
user_id: z.ZodOptional<z.ZodNumber>;
|
|
217
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
218
|
+
details: z.ZodOptional<z.ZodString>;
|
|
219
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
type: z.ZodOptional<z.ZodString>;
|
|
221
|
+
name: z.ZodOptional<z.ZodString>;
|
|
222
|
+
target_user_id: z.ZodOptional<z.ZodNumber>;
|
|
223
|
+
target_user_email: z.ZodOptional<z.ZodString>;
|
|
224
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
225
|
+
assigned_role: z.ZodOptional<z.ZodString>;
|
|
226
|
+
new_role: z.ZodOptional<z.ZodString>;
|
|
227
|
+
previous_role: z.ZodOptional<z.ZodString>;
|
|
228
|
+
workspace_name: z.ZodOptional<z.ZodString>;
|
|
229
|
+
workspace_slug: z.ZodOptional<z.ZodString>;
|
|
230
|
+
ip_address: z.ZodOptional<z.ZodString>;
|
|
231
|
+
user_agent: z.ZodOptional<z.ZodString>;
|
|
232
|
+
widget_type: z.ZodOptional<z.ZodString>;
|
|
233
|
+
created_by: z.ZodOptional<z.ZodNumber>;
|
|
234
|
+
}, z.core.$loose>>>;
|
|
235
|
+
type: z.ZodEnum<{
|
|
236
|
+
user_login: "user_login";
|
|
237
|
+
url_visit: "url_visit";
|
|
238
|
+
update_workspace: "update_workspace";
|
|
239
|
+
create_user: "create_user";
|
|
240
|
+
update_user: "update_user";
|
|
241
|
+
delete_user: "delete_user";
|
|
242
|
+
create_agent: "create_agent";
|
|
243
|
+
update_agent: "update_agent";
|
|
244
|
+
delete_agent: "delete_agent";
|
|
245
|
+
create_application: "create_application";
|
|
246
|
+
update_application: "update_application";
|
|
247
|
+
delete_application: "delete_application";
|
|
248
|
+
create_widget: "create_widget";
|
|
249
|
+
update_widget: "update_widget";
|
|
250
|
+
delete_widget: "delete_widget";
|
|
251
|
+
create_knowledge: "create_knowledge";
|
|
252
|
+
update_knowledge: "update_knowledge";
|
|
253
|
+
delete_knowledge: "delete_knowledge";
|
|
254
|
+
approve_user: "approve_user";
|
|
255
|
+
deny_user: "deny_user";
|
|
256
|
+
request_workspace: "request_workspace";
|
|
257
|
+
widget_question: "widget_question";
|
|
258
|
+
qa_run_started: "qa_run_started";
|
|
259
|
+
start_simulation: "start_simulation";
|
|
260
|
+
create_automation: "create_automation";
|
|
261
|
+
update_automation: "update_automation";
|
|
262
|
+
delete_automation: "delete_automation";
|
|
263
|
+
toggle_automation: "toggle_automation";
|
|
264
|
+
slack_command: "slack_command";
|
|
265
|
+
}>;
|
|
266
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
267
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
268
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
269
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
270
|
+
workspace_id: z.ZodNumber;
|
|
271
|
+
user_id: z.ZodNumber;
|
|
272
|
+
type: z.ZodEnum<{
|
|
273
|
+
user_login: "user_login";
|
|
274
|
+
url_visit: "url_visit";
|
|
275
|
+
update_workspace: "update_workspace";
|
|
276
|
+
create_user: "create_user";
|
|
277
|
+
update_user: "update_user";
|
|
278
|
+
delete_user: "delete_user";
|
|
279
|
+
create_agent: "create_agent";
|
|
280
|
+
update_agent: "update_agent";
|
|
281
|
+
delete_agent: "delete_agent";
|
|
282
|
+
create_application: "create_application";
|
|
283
|
+
update_application: "update_application";
|
|
284
|
+
delete_application: "delete_application";
|
|
285
|
+
create_widget: "create_widget";
|
|
286
|
+
update_widget: "update_widget";
|
|
287
|
+
delete_widget: "delete_widget";
|
|
288
|
+
create_knowledge: "create_knowledge";
|
|
289
|
+
update_knowledge: "update_knowledge";
|
|
290
|
+
delete_knowledge: "delete_knowledge";
|
|
291
|
+
approve_user: "approve_user";
|
|
292
|
+
deny_user: "deny_user";
|
|
293
|
+
request_workspace: "request_workspace";
|
|
294
|
+
widget_question: "widget_question";
|
|
295
|
+
qa_run_started: "qa_run_started";
|
|
296
|
+
start_simulation: "start_simulation";
|
|
297
|
+
create_automation: "create_automation";
|
|
298
|
+
update_automation: "update_automation";
|
|
299
|
+
delete_automation: "delete_automation";
|
|
300
|
+
toggle_automation: "toggle_automation";
|
|
301
|
+
slack_command: "slack_command";
|
|
302
|
+
}>;
|
|
303
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
304
|
+
details: z.ZodOptional<z.ZodString>;
|
|
305
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
306
|
+
type: z.ZodOptional<z.ZodString>;
|
|
307
|
+
name: z.ZodOptional<z.ZodString>;
|
|
308
|
+
target_user_id: z.ZodOptional<z.ZodNumber>;
|
|
309
|
+
target_user_email: z.ZodOptional<z.ZodString>;
|
|
310
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
311
|
+
assigned_role: z.ZodOptional<z.ZodString>;
|
|
312
|
+
new_role: z.ZodOptional<z.ZodString>;
|
|
313
|
+
previous_role: z.ZodOptional<z.ZodString>;
|
|
314
|
+
workspace_name: z.ZodOptional<z.ZodString>;
|
|
315
|
+
workspace_slug: z.ZodOptional<z.ZodString>;
|
|
316
|
+
ip_address: z.ZodOptional<z.ZodString>;
|
|
317
|
+
user_agent: z.ZodOptional<z.ZodString>;
|
|
318
|
+
widget_type: z.ZodOptional<z.ZodString>;
|
|
319
|
+
created_by: z.ZodOptional<z.ZodNumber>;
|
|
320
|
+
}, z.core.$loose>>;
|
|
321
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
322
|
+
activityLogSearch: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
323
|
+
workspace_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
324
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
325
|
+
user_login: "user_login";
|
|
326
|
+
url_visit: "url_visit";
|
|
327
|
+
update_workspace: "update_workspace";
|
|
328
|
+
create_user: "create_user";
|
|
329
|
+
update_user: "update_user";
|
|
330
|
+
delete_user: "delete_user";
|
|
331
|
+
create_agent: "create_agent";
|
|
332
|
+
update_agent: "update_agent";
|
|
333
|
+
delete_agent: "delete_agent";
|
|
334
|
+
create_application: "create_application";
|
|
335
|
+
update_application: "update_application";
|
|
336
|
+
delete_application: "delete_application";
|
|
337
|
+
create_widget: "create_widget";
|
|
338
|
+
update_widget: "update_widget";
|
|
339
|
+
delete_widget: "delete_widget";
|
|
340
|
+
create_knowledge: "create_knowledge";
|
|
341
|
+
update_knowledge: "update_knowledge";
|
|
342
|
+
delete_knowledge: "delete_knowledge";
|
|
343
|
+
approve_user: "approve_user";
|
|
344
|
+
deny_user: "deny_user";
|
|
345
|
+
request_workspace: "request_workspace";
|
|
346
|
+
widget_question: "widget_question";
|
|
347
|
+
qa_run_started: "qa_run_started";
|
|
348
|
+
start_simulation: "start_simulation";
|
|
349
|
+
create_automation: "create_automation";
|
|
350
|
+
update_automation: "update_automation";
|
|
351
|
+
delete_automation: "delete_automation";
|
|
352
|
+
toggle_automation: "toggle_automation";
|
|
353
|
+
slack_command: "slack_command";
|
|
354
|
+
}>>;
|
|
355
|
+
application_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
356
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
357
|
+
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
358
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
359
|
+
items: z.ZodArray<z.ZodObject<{
|
|
360
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
361
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
362
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
363
|
+
workspace_id: z.ZodNumber;
|
|
364
|
+
user_id: z.ZodNumber;
|
|
365
|
+
type: z.ZodEnum<{
|
|
366
|
+
user_login: "user_login";
|
|
367
|
+
url_visit: "url_visit";
|
|
368
|
+
update_workspace: "update_workspace";
|
|
369
|
+
create_user: "create_user";
|
|
370
|
+
update_user: "update_user";
|
|
371
|
+
delete_user: "delete_user";
|
|
372
|
+
create_agent: "create_agent";
|
|
373
|
+
update_agent: "update_agent";
|
|
374
|
+
delete_agent: "delete_agent";
|
|
375
|
+
create_application: "create_application";
|
|
376
|
+
update_application: "update_application";
|
|
377
|
+
delete_application: "delete_application";
|
|
378
|
+
create_widget: "create_widget";
|
|
379
|
+
update_widget: "update_widget";
|
|
380
|
+
delete_widget: "delete_widget";
|
|
381
|
+
create_knowledge: "create_knowledge";
|
|
382
|
+
update_knowledge: "update_knowledge";
|
|
383
|
+
delete_knowledge: "delete_knowledge";
|
|
384
|
+
approve_user: "approve_user";
|
|
385
|
+
deny_user: "deny_user";
|
|
386
|
+
request_workspace: "request_workspace";
|
|
387
|
+
widget_question: "widget_question";
|
|
388
|
+
qa_run_started: "qa_run_started";
|
|
389
|
+
start_simulation: "start_simulation";
|
|
390
|
+
create_automation: "create_automation";
|
|
391
|
+
update_automation: "update_automation";
|
|
392
|
+
delete_automation: "delete_automation";
|
|
393
|
+
toggle_automation: "toggle_automation";
|
|
394
|
+
slack_command: "slack_command";
|
|
395
|
+
}>;
|
|
396
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
397
|
+
details: z.ZodOptional<z.ZodString>;
|
|
398
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
399
|
+
type: z.ZodOptional<z.ZodString>;
|
|
400
|
+
name: z.ZodOptional<z.ZodString>;
|
|
401
|
+
target_user_id: z.ZodOptional<z.ZodNumber>;
|
|
402
|
+
target_user_email: z.ZodOptional<z.ZodString>;
|
|
403
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
404
|
+
assigned_role: z.ZodOptional<z.ZodString>;
|
|
405
|
+
new_role: z.ZodOptional<z.ZodString>;
|
|
406
|
+
previous_role: z.ZodOptional<z.ZodString>;
|
|
407
|
+
workspace_name: z.ZodOptional<z.ZodString>;
|
|
408
|
+
workspace_slug: z.ZodOptional<z.ZodString>;
|
|
409
|
+
ip_address: z.ZodOptional<z.ZodString>;
|
|
410
|
+
user_agent: z.ZodOptional<z.ZodString>;
|
|
411
|
+
widget_type: z.ZodOptional<z.ZodString>;
|
|
412
|
+
created_by: z.ZodOptional<z.ZodNumber>;
|
|
413
|
+
}, z.core.$loose>>;
|
|
414
|
+
}, z.core.$strip>>;
|
|
415
|
+
total: z.ZodNumber;
|
|
416
|
+
limit: z.ZodNumber;
|
|
417
|
+
offset: z.ZodNumber;
|
|
418
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
419
|
+
};
|
|
420
|
+
//# sourceMappingURL=activityLog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activityLog.d.ts","sourceRoot":"","sources":["../../../../src/sdk/contracts/activityLog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8DASE,CAAC;AAEjC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8DAiBmB,CAAC;AAIlD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG7B,CAAC"}
|