@rudderhq/shared 0.5.1 → 0.5.2-canary.0
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/constants.d.ts +6 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +22 -0
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/agent-integration.d.ts +13 -0
- package/dist/types/agent-integration.d.ts.map +1 -1
- package/dist/types/agent.d.ts +2 -2
- package/dist/types/agent.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/messenger.d.ts +33 -0
- package/dist/types/messenger.d.ts.map +1 -1
- package/dist/types/organization.d.ts +1 -1
- package/dist/types/organization.d.ts.map +1 -1
- package/dist/validators/index.d.ts +1 -1
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +1 -1
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/messenger.d.ts +440 -5
- package/dist/validators/messenger.d.ts.map +1 -1
- package/dist/validators/messenger.js +30 -7
- package/dist/validators/messenger.js.map +1 -1
- package/dist/validators/messenger.test.js +81 -14
- package/dist/validators/messenger.test.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,62 +4,98 @@ export declare const messengerSavedViewTargetSchema: z.ZodDiscriminatedUnion<"ki
|
|
|
4
4
|
kind: z.ZodLiteral<"browser">;
|
|
5
5
|
tabId: z.ZodString;
|
|
6
6
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
7
|
+
viewInstanceId: z.ZodString;
|
|
7
8
|
}, "strict", z.ZodTypeAny, {
|
|
8
9
|
url: string;
|
|
9
10
|
kind: "browser";
|
|
10
11
|
tabId: string;
|
|
12
|
+
viewInstanceId: string;
|
|
11
13
|
}, {
|
|
12
14
|
url: string;
|
|
13
15
|
kind: "browser";
|
|
14
16
|
tabId: string;
|
|
17
|
+
viewInstanceId: string;
|
|
15
18
|
}>, z.ZodObject<{
|
|
16
19
|
kind: z.ZodLiteral<"automation">;
|
|
17
20
|
automationId: z.ZodString;
|
|
21
|
+
viewInstanceId: z.ZodString;
|
|
18
22
|
}, "strict", z.ZodTypeAny, {
|
|
19
23
|
automationId: string;
|
|
20
24
|
kind: "automation";
|
|
25
|
+
viewInstanceId: string;
|
|
21
26
|
}, {
|
|
22
27
|
automationId: string;
|
|
23
28
|
kind: "automation";
|
|
29
|
+
viewInstanceId: string;
|
|
24
30
|
}>, z.ZodObject<{
|
|
25
31
|
kind: z.ZodLiteral<"library_document">;
|
|
26
32
|
documentId: z.ZodString;
|
|
33
|
+
viewInstanceId: z.ZodString;
|
|
27
34
|
}, "strict", z.ZodTypeAny, {
|
|
28
35
|
documentId: string;
|
|
29
36
|
kind: "library_document";
|
|
37
|
+
viewInstanceId: string;
|
|
30
38
|
}, {
|
|
31
39
|
documentId: string;
|
|
32
40
|
kind: "library_document";
|
|
41
|
+
viewInstanceId: string;
|
|
33
42
|
}>, z.ZodObject<{
|
|
34
43
|
kind: z.ZodLiteral<"library_entry">;
|
|
35
44
|
entryId: z.ZodString;
|
|
36
45
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
46
|
+
viewInstanceId: z.ZodString;
|
|
37
47
|
}, "strict", z.ZodTypeAny, {
|
|
38
48
|
path: string;
|
|
39
49
|
entryId: string;
|
|
40
50
|
kind: "library_entry";
|
|
51
|
+
viewInstanceId: string;
|
|
41
52
|
}, {
|
|
42
53
|
path: string;
|
|
43
54
|
entryId: string;
|
|
44
55
|
kind: "library_entry";
|
|
56
|
+
viewInstanceId: string;
|
|
45
57
|
}>, z.ZodObject<{
|
|
46
58
|
kind: z.ZodLiteral<"library_file">;
|
|
47
59
|
filePath: z.ZodEffects<z.ZodString, string, string>;
|
|
60
|
+
viewInstanceId: z.ZodString;
|
|
48
61
|
}, "strict", z.ZodTypeAny, {
|
|
49
62
|
filePath: string;
|
|
50
63
|
kind: "library_file";
|
|
64
|
+
viewInstanceId: string;
|
|
51
65
|
}, {
|
|
52
66
|
filePath: string;
|
|
53
67
|
kind: "library_file";
|
|
68
|
+
viewInstanceId: string;
|
|
54
69
|
}>, z.ZodObject<{
|
|
55
70
|
kind: z.ZodLiteral<"library_directory">;
|
|
56
71
|
directoryPath: z.ZodEffects<z.ZodString, string, string>;
|
|
72
|
+
viewInstanceId: z.ZodString;
|
|
57
73
|
}, "strict", z.ZodTypeAny, {
|
|
58
74
|
directoryPath: string;
|
|
59
75
|
kind: "library_directory";
|
|
76
|
+
viewInstanceId: string;
|
|
60
77
|
}, {
|
|
61
78
|
directoryPath: string;
|
|
62
79
|
kind: "library_directory";
|
|
80
|
+
viewInstanceId: string;
|
|
81
|
+
}>, z.ZodObject<{
|
|
82
|
+
kind: z.ZodLiteral<"local_app">;
|
|
83
|
+
desktopInstallationId: z.ZodString;
|
|
84
|
+
appPublicId: z.ZodString;
|
|
85
|
+
localBindingId: z.ZodString;
|
|
86
|
+
viewInstanceId: z.ZodString;
|
|
87
|
+
}, "strict", z.ZodTypeAny, {
|
|
88
|
+
kind: "local_app";
|
|
89
|
+
viewInstanceId: string;
|
|
90
|
+
desktopInstallationId: string;
|
|
91
|
+
appPublicId: string;
|
|
92
|
+
localBindingId: string;
|
|
93
|
+
}, {
|
|
94
|
+
kind: "local_app";
|
|
95
|
+
viewInstanceId: string;
|
|
96
|
+
desktopInstallationId: string;
|
|
97
|
+
appPublicId: string;
|
|
98
|
+
localBindingId: string;
|
|
63
99
|
}>]>;
|
|
64
100
|
export declare const createMessengerSavedViewSchema: z.ZodObject<{
|
|
65
101
|
title: z.ZodString;
|
|
@@ -69,62 +105,98 @@ export declare const createMessengerSavedViewSchema: z.ZodObject<{
|
|
|
69
105
|
kind: z.ZodLiteral<"browser">;
|
|
70
106
|
tabId: z.ZodString;
|
|
71
107
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
108
|
+
viewInstanceId: z.ZodString;
|
|
72
109
|
}, "strict", z.ZodTypeAny, {
|
|
73
110
|
url: string;
|
|
74
111
|
kind: "browser";
|
|
75
112
|
tabId: string;
|
|
113
|
+
viewInstanceId: string;
|
|
76
114
|
}, {
|
|
77
115
|
url: string;
|
|
78
116
|
kind: "browser";
|
|
79
117
|
tabId: string;
|
|
118
|
+
viewInstanceId: string;
|
|
80
119
|
}>, z.ZodObject<{
|
|
81
120
|
kind: z.ZodLiteral<"automation">;
|
|
82
121
|
automationId: z.ZodString;
|
|
122
|
+
viewInstanceId: z.ZodString;
|
|
83
123
|
}, "strict", z.ZodTypeAny, {
|
|
84
124
|
automationId: string;
|
|
85
125
|
kind: "automation";
|
|
126
|
+
viewInstanceId: string;
|
|
86
127
|
}, {
|
|
87
128
|
automationId: string;
|
|
88
129
|
kind: "automation";
|
|
130
|
+
viewInstanceId: string;
|
|
89
131
|
}>, z.ZodObject<{
|
|
90
132
|
kind: z.ZodLiteral<"library_document">;
|
|
91
133
|
documentId: z.ZodString;
|
|
134
|
+
viewInstanceId: z.ZodString;
|
|
92
135
|
}, "strict", z.ZodTypeAny, {
|
|
93
136
|
documentId: string;
|
|
94
137
|
kind: "library_document";
|
|
138
|
+
viewInstanceId: string;
|
|
95
139
|
}, {
|
|
96
140
|
documentId: string;
|
|
97
141
|
kind: "library_document";
|
|
142
|
+
viewInstanceId: string;
|
|
98
143
|
}>, z.ZodObject<{
|
|
99
144
|
kind: z.ZodLiteral<"library_entry">;
|
|
100
145
|
entryId: z.ZodString;
|
|
101
146
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
147
|
+
viewInstanceId: z.ZodString;
|
|
102
148
|
}, "strict", z.ZodTypeAny, {
|
|
103
149
|
path: string;
|
|
104
150
|
entryId: string;
|
|
105
151
|
kind: "library_entry";
|
|
152
|
+
viewInstanceId: string;
|
|
106
153
|
}, {
|
|
107
154
|
path: string;
|
|
108
155
|
entryId: string;
|
|
109
156
|
kind: "library_entry";
|
|
157
|
+
viewInstanceId: string;
|
|
110
158
|
}>, z.ZodObject<{
|
|
111
159
|
kind: z.ZodLiteral<"library_file">;
|
|
112
160
|
filePath: z.ZodEffects<z.ZodString, string, string>;
|
|
161
|
+
viewInstanceId: z.ZodString;
|
|
113
162
|
}, "strict", z.ZodTypeAny, {
|
|
114
163
|
filePath: string;
|
|
115
164
|
kind: "library_file";
|
|
165
|
+
viewInstanceId: string;
|
|
116
166
|
}, {
|
|
117
167
|
filePath: string;
|
|
118
168
|
kind: "library_file";
|
|
169
|
+
viewInstanceId: string;
|
|
119
170
|
}>, z.ZodObject<{
|
|
120
171
|
kind: z.ZodLiteral<"library_directory">;
|
|
121
172
|
directoryPath: z.ZodEffects<z.ZodString, string, string>;
|
|
173
|
+
viewInstanceId: z.ZodString;
|
|
122
174
|
}, "strict", z.ZodTypeAny, {
|
|
123
175
|
directoryPath: string;
|
|
124
176
|
kind: "library_directory";
|
|
177
|
+
viewInstanceId: string;
|
|
125
178
|
}, {
|
|
126
179
|
directoryPath: string;
|
|
127
180
|
kind: "library_directory";
|
|
181
|
+
viewInstanceId: string;
|
|
182
|
+
}>, z.ZodObject<{
|
|
183
|
+
kind: z.ZodLiteral<"local_app">;
|
|
184
|
+
desktopInstallationId: z.ZodString;
|
|
185
|
+
appPublicId: z.ZodString;
|
|
186
|
+
localBindingId: z.ZodString;
|
|
187
|
+
viewInstanceId: z.ZodString;
|
|
188
|
+
}, "strict", z.ZodTypeAny, {
|
|
189
|
+
kind: "local_app";
|
|
190
|
+
viewInstanceId: string;
|
|
191
|
+
desktopInstallationId: string;
|
|
192
|
+
appPublicId: string;
|
|
193
|
+
localBindingId: string;
|
|
194
|
+
}, {
|
|
195
|
+
kind: "local_app";
|
|
196
|
+
viewInstanceId: string;
|
|
197
|
+
desktopInstallationId: string;
|
|
198
|
+
appPublicId: string;
|
|
199
|
+
localBindingId: string;
|
|
128
200
|
}>]>;
|
|
129
201
|
}, "strict", z.ZodTypeAny, {
|
|
130
202
|
title: string;
|
|
@@ -132,22 +204,34 @@ export declare const createMessengerSavedViewSchema: z.ZodObject<{
|
|
|
132
204
|
url: string;
|
|
133
205
|
kind: "browser";
|
|
134
206
|
tabId: string;
|
|
207
|
+
viewInstanceId: string;
|
|
135
208
|
} | {
|
|
136
209
|
automationId: string;
|
|
137
210
|
kind: "automation";
|
|
211
|
+
viewInstanceId: string;
|
|
138
212
|
} | {
|
|
139
213
|
documentId: string;
|
|
140
214
|
kind: "library_document";
|
|
215
|
+
viewInstanceId: string;
|
|
141
216
|
} | {
|
|
142
217
|
path: string;
|
|
143
218
|
entryId: string;
|
|
144
219
|
kind: "library_entry";
|
|
220
|
+
viewInstanceId: string;
|
|
145
221
|
} | {
|
|
146
222
|
filePath: string;
|
|
147
223
|
kind: "library_file";
|
|
224
|
+
viewInstanceId: string;
|
|
148
225
|
} | {
|
|
149
226
|
directoryPath: string;
|
|
150
227
|
kind: "library_directory";
|
|
228
|
+
viewInstanceId: string;
|
|
229
|
+
} | {
|
|
230
|
+
kind: "local_app";
|
|
231
|
+
viewInstanceId: string;
|
|
232
|
+
desktopInstallationId: string;
|
|
233
|
+
appPublicId: string;
|
|
234
|
+
localBindingId: string;
|
|
151
235
|
};
|
|
152
236
|
subtitle?: string | null | undefined;
|
|
153
237
|
favicon?: string | null | undefined;
|
|
@@ -157,22 +241,288 @@ export declare const createMessengerSavedViewSchema: z.ZodObject<{
|
|
|
157
241
|
url: string;
|
|
158
242
|
kind: "browser";
|
|
159
243
|
tabId: string;
|
|
244
|
+
viewInstanceId: string;
|
|
160
245
|
} | {
|
|
161
246
|
automationId: string;
|
|
162
247
|
kind: "automation";
|
|
248
|
+
viewInstanceId: string;
|
|
163
249
|
} | {
|
|
164
250
|
documentId: string;
|
|
165
251
|
kind: "library_document";
|
|
252
|
+
viewInstanceId: string;
|
|
166
253
|
} | {
|
|
167
254
|
path: string;
|
|
168
255
|
entryId: string;
|
|
169
256
|
kind: "library_entry";
|
|
257
|
+
viewInstanceId: string;
|
|
170
258
|
} | {
|
|
171
259
|
filePath: string;
|
|
172
260
|
kind: "library_file";
|
|
261
|
+
viewInstanceId: string;
|
|
173
262
|
} | {
|
|
174
263
|
directoryPath: string;
|
|
175
264
|
kind: "library_directory";
|
|
265
|
+
viewInstanceId: string;
|
|
266
|
+
} | {
|
|
267
|
+
kind: "local_app";
|
|
268
|
+
viewInstanceId: string;
|
|
269
|
+
desktopInstallationId: string;
|
|
270
|
+
appPublicId: string;
|
|
271
|
+
localBindingId: string;
|
|
272
|
+
};
|
|
273
|
+
subtitle?: string | null | undefined;
|
|
274
|
+
favicon?: string | null | undefined;
|
|
275
|
+
}>;
|
|
276
|
+
export declare const keepMessengerSavedViewSchema: z.ZodObject<{
|
|
277
|
+
clientMutationId: z.ZodString;
|
|
278
|
+
placement: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
279
|
+
kind: z.ZodLiteral<"anchor">;
|
|
280
|
+
anchor: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
281
|
+
kind: z.ZodLiteral<"chat">;
|
|
282
|
+
conversationId: z.ZodString;
|
|
283
|
+
}, "strict", z.ZodTypeAny, {
|
|
284
|
+
conversationId: string;
|
|
285
|
+
kind: "chat";
|
|
286
|
+
}, {
|
|
287
|
+
conversationId: string;
|
|
288
|
+
kind: "chat";
|
|
289
|
+
}>, z.ZodObject<{
|
|
290
|
+
kind: z.ZodLiteral<"issue">;
|
|
291
|
+
issueId: z.ZodString;
|
|
292
|
+
}, "strict", z.ZodTypeAny, {
|
|
293
|
+
issueId: string;
|
|
294
|
+
kind: "issue";
|
|
295
|
+
}, {
|
|
296
|
+
issueId: string;
|
|
297
|
+
kind: "issue";
|
|
298
|
+
}>]>;
|
|
299
|
+
}, "strict", z.ZodTypeAny, {
|
|
300
|
+
kind: "anchor";
|
|
301
|
+
anchor: {
|
|
302
|
+
conversationId: string;
|
|
303
|
+
kind: "chat";
|
|
304
|
+
} | {
|
|
305
|
+
issueId: string;
|
|
306
|
+
kind: "issue";
|
|
307
|
+
};
|
|
308
|
+
}, {
|
|
309
|
+
kind: "anchor";
|
|
310
|
+
anchor: {
|
|
311
|
+
conversationId: string;
|
|
312
|
+
kind: "chat";
|
|
313
|
+
} | {
|
|
314
|
+
issueId: string;
|
|
315
|
+
kind: "issue";
|
|
316
|
+
};
|
|
317
|
+
}>, z.ZodObject<{
|
|
318
|
+
kind: z.ZodLiteral<"group">;
|
|
319
|
+
groupId: z.ZodString;
|
|
320
|
+
}, "strict", z.ZodTypeAny, {
|
|
321
|
+
kind: "group";
|
|
322
|
+
groupId: string;
|
|
323
|
+
}, {
|
|
324
|
+
kind: "group";
|
|
325
|
+
groupId: string;
|
|
326
|
+
}>]>;
|
|
327
|
+
title: z.ZodString;
|
|
328
|
+
subtitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
329
|
+
favicon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
330
|
+
target: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
331
|
+
kind: z.ZodLiteral<"browser">;
|
|
332
|
+
tabId: z.ZodString;
|
|
333
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
334
|
+
viewInstanceId: z.ZodString;
|
|
335
|
+
}, "strict", z.ZodTypeAny, {
|
|
336
|
+
url: string;
|
|
337
|
+
kind: "browser";
|
|
338
|
+
tabId: string;
|
|
339
|
+
viewInstanceId: string;
|
|
340
|
+
}, {
|
|
341
|
+
url: string;
|
|
342
|
+
kind: "browser";
|
|
343
|
+
tabId: string;
|
|
344
|
+
viewInstanceId: string;
|
|
345
|
+
}>, z.ZodObject<{
|
|
346
|
+
kind: z.ZodLiteral<"automation">;
|
|
347
|
+
automationId: z.ZodString;
|
|
348
|
+
viewInstanceId: z.ZodString;
|
|
349
|
+
}, "strict", z.ZodTypeAny, {
|
|
350
|
+
automationId: string;
|
|
351
|
+
kind: "automation";
|
|
352
|
+
viewInstanceId: string;
|
|
353
|
+
}, {
|
|
354
|
+
automationId: string;
|
|
355
|
+
kind: "automation";
|
|
356
|
+
viewInstanceId: string;
|
|
357
|
+
}>, z.ZodObject<{
|
|
358
|
+
kind: z.ZodLiteral<"library_document">;
|
|
359
|
+
documentId: z.ZodString;
|
|
360
|
+
viewInstanceId: z.ZodString;
|
|
361
|
+
}, "strict", z.ZodTypeAny, {
|
|
362
|
+
documentId: string;
|
|
363
|
+
kind: "library_document";
|
|
364
|
+
viewInstanceId: string;
|
|
365
|
+
}, {
|
|
366
|
+
documentId: string;
|
|
367
|
+
kind: "library_document";
|
|
368
|
+
viewInstanceId: string;
|
|
369
|
+
}>, z.ZodObject<{
|
|
370
|
+
kind: z.ZodLiteral<"library_entry">;
|
|
371
|
+
entryId: z.ZodString;
|
|
372
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
373
|
+
viewInstanceId: z.ZodString;
|
|
374
|
+
}, "strict", z.ZodTypeAny, {
|
|
375
|
+
path: string;
|
|
376
|
+
entryId: string;
|
|
377
|
+
kind: "library_entry";
|
|
378
|
+
viewInstanceId: string;
|
|
379
|
+
}, {
|
|
380
|
+
path: string;
|
|
381
|
+
entryId: string;
|
|
382
|
+
kind: "library_entry";
|
|
383
|
+
viewInstanceId: string;
|
|
384
|
+
}>, z.ZodObject<{
|
|
385
|
+
kind: z.ZodLiteral<"library_file">;
|
|
386
|
+
filePath: z.ZodEffects<z.ZodString, string, string>;
|
|
387
|
+
viewInstanceId: z.ZodString;
|
|
388
|
+
}, "strict", z.ZodTypeAny, {
|
|
389
|
+
filePath: string;
|
|
390
|
+
kind: "library_file";
|
|
391
|
+
viewInstanceId: string;
|
|
392
|
+
}, {
|
|
393
|
+
filePath: string;
|
|
394
|
+
kind: "library_file";
|
|
395
|
+
viewInstanceId: string;
|
|
396
|
+
}>, z.ZodObject<{
|
|
397
|
+
kind: z.ZodLiteral<"library_directory">;
|
|
398
|
+
directoryPath: z.ZodEffects<z.ZodString, string, string>;
|
|
399
|
+
viewInstanceId: z.ZodString;
|
|
400
|
+
}, "strict", z.ZodTypeAny, {
|
|
401
|
+
directoryPath: string;
|
|
402
|
+
kind: "library_directory";
|
|
403
|
+
viewInstanceId: string;
|
|
404
|
+
}, {
|
|
405
|
+
directoryPath: string;
|
|
406
|
+
kind: "library_directory";
|
|
407
|
+
viewInstanceId: string;
|
|
408
|
+
}>, z.ZodObject<{
|
|
409
|
+
kind: z.ZodLiteral<"local_app">;
|
|
410
|
+
desktopInstallationId: z.ZodString;
|
|
411
|
+
appPublicId: z.ZodString;
|
|
412
|
+
localBindingId: z.ZodString;
|
|
413
|
+
viewInstanceId: z.ZodString;
|
|
414
|
+
}, "strict", z.ZodTypeAny, {
|
|
415
|
+
kind: "local_app";
|
|
416
|
+
viewInstanceId: string;
|
|
417
|
+
desktopInstallationId: string;
|
|
418
|
+
appPublicId: string;
|
|
419
|
+
localBindingId: string;
|
|
420
|
+
}, {
|
|
421
|
+
kind: "local_app";
|
|
422
|
+
viewInstanceId: string;
|
|
423
|
+
desktopInstallationId: string;
|
|
424
|
+
appPublicId: string;
|
|
425
|
+
localBindingId: string;
|
|
426
|
+
}>]>;
|
|
427
|
+
}, "strict", z.ZodTypeAny, {
|
|
428
|
+
title: string;
|
|
429
|
+
target: {
|
|
430
|
+
url: string;
|
|
431
|
+
kind: "browser";
|
|
432
|
+
tabId: string;
|
|
433
|
+
viewInstanceId: string;
|
|
434
|
+
} | {
|
|
435
|
+
automationId: string;
|
|
436
|
+
kind: "automation";
|
|
437
|
+
viewInstanceId: string;
|
|
438
|
+
} | {
|
|
439
|
+
documentId: string;
|
|
440
|
+
kind: "library_document";
|
|
441
|
+
viewInstanceId: string;
|
|
442
|
+
} | {
|
|
443
|
+
path: string;
|
|
444
|
+
entryId: string;
|
|
445
|
+
kind: "library_entry";
|
|
446
|
+
viewInstanceId: string;
|
|
447
|
+
} | {
|
|
448
|
+
filePath: string;
|
|
449
|
+
kind: "library_file";
|
|
450
|
+
viewInstanceId: string;
|
|
451
|
+
} | {
|
|
452
|
+
directoryPath: string;
|
|
453
|
+
kind: "library_directory";
|
|
454
|
+
viewInstanceId: string;
|
|
455
|
+
} | {
|
|
456
|
+
kind: "local_app";
|
|
457
|
+
viewInstanceId: string;
|
|
458
|
+
desktopInstallationId: string;
|
|
459
|
+
appPublicId: string;
|
|
460
|
+
localBindingId: string;
|
|
461
|
+
};
|
|
462
|
+
clientMutationId: string;
|
|
463
|
+
placement: {
|
|
464
|
+
kind: "anchor";
|
|
465
|
+
anchor: {
|
|
466
|
+
conversationId: string;
|
|
467
|
+
kind: "chat";
|
|
468
|
+
} | {
|
|
469
|
+
issueId: string;
|
|
470
|
+
kind: "issue";
|
|
471
|
+
};
|
|
472
|
+
} | {
|
|
473
|
+
kind: "group";
|
|
474
|
+
groupId: string;
|
|
475
|
+
};
|
|
476
|
+
subtitle?: string | null | undefined;
|
|
477
|
+
favicon?: string | null | undefined;
|
|
478
|
+
}, {
|
|
479
|
+
title: string;
|
|
480
|
+
target: {
|
|
481
|
+
url: string;
|
|
482
|
+
kind: "browser";
|
|
483
|
+
tabId: string;
|
|
484
|
+
viewInstanceId: string;
|
|
485
|
+
} | {
|
|
486
|
+
automationId: string;
|
|
487
|
+
kind: "automation";
|
|
488
|
+
viewInstanceId: string;
|
|
489
|
+
} | {
|
|
490
|
+
documentId: string;
|
|
491
|
+
kind: "library_document";
|
|
492
|
+
viewInstanceId: string;
|
|
493
|
+
} | {
|
|
494
|
+
path: string;
|
|
495
|
+
entryId: string;
|
|
496
|
+
kind: "library_entry";
|
|
497
|
+
viewInstanceId: string;
|
|
498
|
+
} | {
|
|
499
|
+
filePath: string;
|
|
500
|
+
kind: "library_file";
|
|
501
|
+
viewInstanceId: string;
|
|
502
|
+
} | {
|
|
503
|
+
directoryPath: string;
|
|
504
|
+
kind: "library_directory";
|
|
505
|
+
viewInstanceId: string;
|
|
506
|
+
} | {
|
|
507
|
+
kind: "local_app";
|
|
508
|
+
viewInstanceId: string;
|
|
509
|
+
desktopInstallationId: string;
|
|
510
|
+
appPublicId: string;
|
|
511
|
+
localBindingId: string;
|
|
512
|
+
};
|
|
513
|
+
clientMutationId: string;
|
|
514
|
+
placement: {
|
|
515
|
+
kind: "anchor";
|
|
516
|
+
anchor: {
|
|
517
|
+
conversationId: string;
|
|
518
|
+
kind: "chat";
|
|
519
|
+
} | {
|
|
520
|
+
issueId: string;
|
|
521
|
+
kind: "issue";
|
|
522
|
+
};
|
|
523
|
+
} | {
|
|
524
|
+
kind: "group";
|
|
525
|
+
groupId: string;
|
|
176
526
|
};
|
|
177
527
|
subtitle?: string | null | undefined;
|
|
178
528
|
favicon?: string | null | undefined;
|
|
@@ -182,91 +532,139 @@ export declare const updateMessengerSavedViewSchema: z.ZodEffects<z.ZodObject<{
|
|
|
182
532
|
kind: z.ZodLiteral<"browser">;
|
|
183
533
|
tabId: z.ZodString;
|
|
184
534
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
535
|
+
viewInstanceId: z.ZodString;
|
|
185
536
|
}, "strict", z.ZodTypeAny, {
|
|
186
537
|
url: string;
|
|
187
538
|
kind: "browser";
|
|
188
539
|
tabId: string;
|
|
540
|
+
viewInstanceId: string;
|
|
189
541
|
}, {
|
|
190
542
|
url: string;
|
|
191
543
|
kind: "browser";
|
|
192
544
|
tabId: string;
|
|
545
|
+
viewInstanceId: string;
|
|
193
546
|
}>, z.ZodObject<{
|
|
194
547
|
kind: z.ZodLiteral<"automation">;
|
|
195
548
|
automationId: z.ZodString;
|
|
549
|
+
viewInstanceId: z.ZodString;
|
|
196
550
|
}, "strict", z.ZodTypeAny, {
|
|
197
551
|
automationId: string;
|
|
198
552
|
kind: "automation";
|
|
553
|
+
viewInstanceId: string;
|
|
199
554
|
}, {
|
|
200
555
|
automationId: string;
|
|
201
556
|
kind: "automation";
|
|
557
|
+
viewInstanceId: string;
|
|
202
558
|
}>, z.ZodObject<{
|
|
203
559
|
kind: z.ZodLiteral<"library_document">;
|
|
204
560
|
documentId: z.ZodString;
|
|
561
|
+
viewInstanceId: z.ZodString;
|
|
205
562
|
}, "strict", z.ZodTypeAny, {
|
|
206
563
|
documentId: string;
|
|
207
564
|
kind: "library_document";
|
|
565
|
+
viewInstanceId: string;
|
|
208
566
|
}, {
|
|
209
567
|
documentId: string;
|
|
210
568
|
kind: "library_document";
|
|
569
|
+
viewInstanceId: string;
|
|
211
570
|
}>, z.ZodObject<{
|
|
212
571
|
kind: z.ZodLiteral<"library_entry">;
|
|
213
572
|
entryId: z.ZodString;
|
|
214
573
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
574
|
+
viewInstanceId: z.ZodString;
|
|
215
575
|
}, "strict", z.ZodTypeAny, {
|
|
216
576
|
path: string;
|
|
217
577
|
entryId: string;
|
|
218
578
|
kind: "library_entry";
|
|
579
|
+
viewInstanceId: string;
|
|
219
580
|
}, {
|
|
220
581
|
path: string;
|
|
221
582
|
entryId: string;
|
|
222
583
|
kind: "library_entry";
|
|
584
|
+
viewInstanceId: string;
|
|
223
585
|
}>, z.ZodObject<{
|
|
224
586
|
kind: z.ZodLiteral<"library_file">;
|
|
225
587
|
filePath: z.ZodEffects<z.ZodString, string, string>;
|
|
588
|
+
viewInstanceId: z.ZodString;
|
|
226
589
|
}, "strict", z.ZodTypeAny, {
|
|
227
590
|
filePath: string;
|
|
228
591
|
kind: "library_file";
|
|
592
|
+
viewInstanceId: string;
|
|
229
593
|
}, {
|
|
230
594
|
filePath: string;
|
|
231
595
|
kind: "library_file";
|
|
596
|
+
viewInstanceId: string;
|
|
232
597
|
}>, z.ZodObject<{
|
|
233
598
|
kind: z.ZodLiteral<"library_directory">;
|
|
234
599
|
directoryPath: z.ZodEffects<z.ZodString, string, string>;
|
|
600
|
+
viewInstanceId: z.ZodString;
|
|
235
601
|
}, "strict", z.ZodTypeAny, {
|
|
236
602
|
directoryPath: string;
|
|
237
603
|
kind: "library_directory";
|
|
604
|
+
viewInstanceId: string;
|
|
238
605
|
}, {
|
|
239
606
|
directoryPath: string;
|
|
240
607
|
kind: "library_directory";
|
|
608
|
+
viewInstanceId: string;
|
|
609
|
+
}>, z.ZodObject<{
|
|
610
|
+
kind: z.ZodLiteral<"local_app">;
|
|
611
|
+
desktopInstallationId: z.ZodString;
|
|
612
|
+
appPublicId: z.ZodString;
|
|
613
|
+
localBindingId: z.ZodString;
|
|
614
|
+
viewInstanceId: z.ZodString;
|
|
615
|
+
}, "strict", z.ZodTypeAny, {
|
|
616
|
+
kind: "local_app";
|
|
617
|
+
viewInstanceId: string;
|
|
618
|
+
desktopInstallationId: string;
|
|
619
|
+
appPublicId: string;
|
|
620
|
+
localBindingId: string;
|
|
621
|
+
}, {
|
|
622
|
+
kind: "local_app";
|
|
623
|
+
viewInstanceId: string;
|
|
624
|
+
desktopInstallationId: string;
|
|
625
|
+
appPublicId: string;
|
|
626
|
+
localBindingId: string;
|
|
241
627
|
}>]>>;
|
|
242
628
|
title: z.ZodOptional<z.ZodString>;
|
|
243
629
|
subtitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
244
630
|
favicon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
245
|
-
hidden: z.ZodOptional<z.
|
|
631
|
+
hidden: z.ZodOptional<z.ZodLiteral<false>>;
|
|
246
632
|
}, "strict", z.ZodTypeAny, {
|
|
247
633
|
title?: string | undefined;
|
|
248
634
|
target?: {
|
|
249
635
|
url: string;
|
|
250
636
|
kind: "browser";
|
|
251
637
|
tabId: string;
|
|
638
|
+
viewInstanceId: string;
|
|
252
639
|
} | {
|
|
253
640
|
automationId: string;
|
|
254
641
|
kind: "automation";
|
|
642
|
+
viewInstanceId: string;
|
|
255
643
|
} | {
|
|
256
644
|
documentId: string;
|
|
257
645
|
kind: "library_document";
|
|
646
|
+
viewInstanceId: string;
|
|
258
647
|
} | {
|
|
259
648
|
path: string;
|
|
260
649
|
entryId: string;
|
|
261
650
|
kind: "library_entry";
|
|
651
|
+
viewInstanceId: string;
|
|
262
652
|
} | {
|
|
263
653
|
filePath: string;
|
|
264
654
|
kind: "library_file";
|
|
655
|
+
viewInstanceId: string;
|
|
265
656
|
} | {
|
|
266
657
|
directoryPath: string;
|
|
267
658
|
kind: "library_directory";
|
|
659
|
+
viewInstanceId: string;
|
|
660
|
+
} | {
|
|
661
|
+
kind: "local_app";
|
|
662
|
+
viewInstanceId: string;
|
|
663
|
+
desktopInstallationId: string;
|
|
664
|
+
appPublicId: string;
|
|
665
|
+
localBindingId: string;
|
|
268
666
|
} | undefined;
|
|
269
|
-
hidden?:
|
|
667
|
+
hidden?: false | undefined;
|
|
270
668
|
subtitle?: string | null | undefined;
|
|
271
669
|
favicon?: string | null | undefined;
|
|
272
670
|
}, {
|
|
@@ -275,24 +673,36 @@ export declare const updateMessengerSavedViewSchema: z.ZodEffects<z.ZodObject<{
|
|
|
275
673
|
url: string;
|
|
276
674
|
kind: "browser";
|
|
277
675
|
tabId: string;
|
|
676
|
+
viewInstanceId: string;
|
|
278
677
|
} | {
|
|
279
678
|
automationId: string;
|
|
280
679
|
kind: "automation";
|
|
680
|
+
viewInstanceId: string;
|
|
281
681
|
} | {
|
|
282
682
|
documentId: string;
|
|
283
683
|
kind: "library_document";
|
|
684
|
+
viewInstanceId: string;
|
|
284
685
|
} | {
|
|
285
686
|
path: string;
|
|
286
687
|
entryId: string;
|
|
287
688
|
kind: "library_entry";
|
|
689
|
+
viewInstanceId: string;
|
|
288
690
|
} | {
|
|
289
691
|
filePath: string;
|
|
290
692
|
kind: "library_file";
|
|
693
|
+
viewInstanceId: string;
|
|
291
694
|
} | {
|
|
292
695
|
directoryPath: string;
|
|
293
696
|
kind: "library_directory";
|
|
697
|
+
viewInstanceId: string;
|
|
698
|
+
} | {
|
|
699
|
+
kind: "local_app";
|
|
700
|
+
viewInstanceId: string;
|
|
701
|
+
desktopInstallationId: string;
|
|
702
|
+
appPublicId: string;
|
|
703
|
+
localBindingId: string;
|
|
294
704
|
} | undefined;
|
|
295
|
-
hidden?:
|
|
705
|
+
hidden?: false | undefined;
|
|
296
706
|
subtitle?: string | null | undefined;
|
|
297
707
|
favicon?: string | null | undefined;
|
|
298
708
|
}>, {
|
|
@@ -301,24 +711,36 @@ export declare const updateMessengerSavedViewSchema: z.ZodEffects<z.ZodObject<{
|
|
|
301
711
|
url: string;
|
|
302
712
|
kind: "browser";
|
|
303
713
|
tabId: string;
|
|
714
|
+
viewInstanceId: string;
|
|
304
715
|
} | {
|
|
305
716
|
automationId: string;
|
|
306
717
|
kind: "automation";
|
|
718
|
+
viewInstanceId: string;
|
|
307
719
|
} | {
|
|
308
720
|
documentId: string;
|
|
309
721
|
kind: "library_document";
|
|
722
|
+
viewInstanceId: string;
|
|
310
723
|
} | {
|
|
311
724
|
path: string;
|
|
312
725
|
entryId: string;
|
|
313
726
|
kind: "library_entry";
|
|
727
|
+
viewInstanceId: string;
|
|
314
728
|
} | {
|
|
315
729
|
filePath: string;
|
|
316
730
|
kind: "library_file";
|
|
731
|
+
viewInstanceId: string;
|
|
317
732
|
} | {
|
|
318
733
|
directoryPath: string;
|
|
319
734
|
kind: "library_directory";
|
|
735
|
+
viewInstanceId: string;
|
|
736
|
+
} | {
|
|
737
|
+
kind: "local_app";
|
|
738
|
+
viewInstanceId: string;
|
|
739
|
+
desktopInstallationId: string;
|
|
740
|
+
appPublicId: string;
|
|
741
|
+
localBindingId: string;
|
|
320
742
|
} | undefined;
|
|
321
|
-
hidden?:
|
|
743
|
+
hidden?: false | undefined;
|
|
322
744
|
subtitle?: string | null | undefined;
|
|
323
745
|
favicon?: string | null | undefined;
|
|
324
746
|
}, {
|
|
@@ -327,24 +749,36 @@ export declare const updateMessengerSavedViewSchema: z.ZodEffects<z.ZodObject<{
|
|
|
327
749
|
url: string;
|
|
328
750
|
kind: "browser";
|
|
329
751
|
tabId: string;
|
|
752
|
+
viewInstanceId: string;
|
|
330
753
|
} | {
|
|
331
754
|
automationId: string;
|
|
332
755
|
kind: "automation";
|
|
756
|
+
viewInstanceId: string;
|
|
333
757
|
} | {
|
|
334
758
|
documentId: string;
|
|
335
759
|
kind: "library_document";
|
|
760
|
+
viewInstanceId: string;
|
|
336
761
|
} | {
|
|
337
762
|
path: string;
|
|
338
763
|
entryId: string;
|
|
339
764
|
kind: "library_entry";
|
|
765
|
+
viewInstanceId: string;
|
|
340
766
|
} | {
|
|
341
767
|
filePath: string;
|
|
342
768
|
kind: "library_file";
|
|
769
|
+
viewInstanceId: string;
|
|
343
770
|
} | {
|
|
344
771
|
directoryPath: string;
|
|
345
772
|
kind: "library_directory";
|
|
773
|
+
viewInstanceId: string;
|
|
774
|
+
} | {
|
|
775
|
+
kind: "local_app";
|
|
776
|
+
viewInstanceId: string;
|
|
777
|
+
desktopInstallationId: string;
|
|
778
|
+
appPublicId: string;
|
|
779
|
+
localBindingId: string;
|
|
346
780
|
} | undefined;
|
|
347
|
-
hidden?:
|
|
781
|
+
hidden?: false | undefined;
|
|
348
782
|
subtitle?: string | null | undefined;
|
|
349
783
|
favicon?: string | null | undefined;
|
|
350
784
|
}>;
|
|
@@ -374,6 +808,7 @@ export declare const listMessengerSavedViewsQuerySchema: z.ZodObject<{
|
|
|
374
808
|
}>;
|
|
375
809
|
export type MessengerSavedViewTargetInput = z.infer<typeof messengerSavedViewTargetSchema>;
|
|
376
810
|
export type CreateMessengerSavedView = z.infer<typeof createMessengerSavedViewSchema>;
|
|
811
|
+
export type KeepMessengerSavedView = z.infer<typeof keepMessengerSavedViewSchema>;
|
|
377
812
|
export type UpdateMessengerSavedView = z.infer<typeof updateMessengerSavedViewSchema>;
|
|
378
813
|
export type ReorderMessengerSavedViews = z.infer<typeof reorderMessengerSavedViewsSchema>;
|
|
379
814
|
export type ListMessengerSavedViewsQuery = z.infer<typeof listMessengerSavedViewsQuerySchema>;
|