@corsair-dev/amplitude 0.1.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.
Files changed (47) hide show
  1. package/LICENSE +191 -0
  2. package/dist/client.d.ts +13 -0
  3. package/dist/client.d.ts.map +1 -0
  4. package/dist/endpoints/annotations.d.ts +4 -0
  5. package/dist/endpoints/annotations.d.ts.map +1 -0
  6. package/dist/endpoints/charts.d.ts +3 -0
  7. package/dist/endpoints/charts.d.ts.map +1 -0
  8. package/dist/endpoints/cohorts.d.ts +6 -0
  9. package/dist/endpoints/cohorts.d.ts.map +1 -0
  10. package/dist/endpoints/dashboards.d.ts +4 -0
  11. package/dist/endpoints/dashboards.d.ts.map +1 -0
  12. package/dist/endpoints/events.d.ts +6 -0
  13. package/dist/endpoints/events.d.ts.map +1 -0
  14. package/dist/endpoints/exports.d.ts +3 -0
  15. package/dist/endpoints/exports.d.ts.map +1 -0
  16. package/dist/endpoints/index.d.ts +295 -0
  17. package/dist/endpoints/index.d.ts.map +1 -0
  18. package/dist/endpoints/types.d.ts +2411 -0
  19. package/dist/endpoints/types.d.ts.map +1 -0
  20. package/dist/endpoints/users.d.ts +5 -0
  21. package/dist/endpoints/users.d.ts.map +1 -0
  22. package/dist/error-handlers.d.ts +40 -0
  23. package/dist/error-handlers.d.ts.map +1 -0
  24. package/dist/index.d.ts +1497 -0
  25. package/dist/index.d.ts.map +1 -0
  26. package/dist/index.js +1 -0
  27. package/dist/schema/database.d.ts +170 -0
  28. package/dist/schema/database.d.ts.map +1 -0
  29. package/dist/schema/index.d.ts +171 -0
  30. package/dist/schema/index.d.ts.map +1 -0
  31. package/dist/tsup.config.d.ts +3 -0
  32. package/dist/tsup.config.d.ts.map +1 -0
  33. package/dist/webhooks/annotations.d.ts +4 -0
  34. package/dist/webhooks/annotations.d.ts.map +1 -0
  35. package/dist/webhooks/cohorts.d.ts +3 -0
  36. package/dist/webhooks/cohorts.d.ts.map +1 -0
  37. package/dist/webhooks/events.d.ts +4 -0
  38. package/dist/webhooks/events.d.ts.map +1 -0
  39. package/dist/webhooks/experiments.d.ts +3 -0
  40. package/dist/webhooks/experiments.d.ts.map +1 -0
  41. package/dist/webhooks/index.d.ts +202 -0
  42. package/dist/webhooks/index.d.ts.map +1 -0
  43. package/dist/webhooks/monitors.d.ts +3 -0
  44. package/dist/webhooks/monitors.d.ts.map +1 -0
  45. package/dist/webhooks/types.d.ts +305 -0
  46. package/dist/webhooks/types.d.ts.map +1 -0
  47. package/package.json +40 -0
@@ -0,0 +1,2411 @@
1
+ import { z } from 'zod';
2
+ declare const EventsUploadInputSchema: z.ZodObject<{
3
+ api_key: z.ZodString;
4
+ events: z.ZodArray<z.ZodObject<{
5
+ event_type: z.ZodString;
6
+ user_id: z.ZodOptional<z.ZodString>;
7
+ device_id: z.ZodOptional<z.ZodString>;
8
+ time: z.ZodOptional<z.ZodNumber>;
9
+ event_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ user_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11
+ app_version: z.ZodOptional<z.ZodString>;
12
+ platform: z.ZodOptional<z.ZodString>;
13
+ os_name: z.ZodOptional<z.ZodString>;
14
+ os_version: z.ZodOptional<z.ZodString>;
15
+ device_brand: z.ZodOptional<z.ZodString>;
16
+ device_manufacturer: z.ZodOptional<z.ZodString>;
17
+ device_model: z.ZodOptional<z.ZodString>;
18
+ carrier: z.ZodOptional<z.ZodString>;
19
+ country: z.ZodOptional<z.ZodString>;
20
+ region: z.ZodOptional<z.ZodString>;
21
+ city: z.ZodOptional<z.ZodString>;
22
+ language: z.ZodOptional<z.ZodString>;
23
+ ip: z.ZodOptional<z.ZodString>;
24
+ insert_id: z.ZodOptional<z.ZodString>;
25
+ session_id: z.ZodOptional<z.ZodNumber>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ event_type: string;
28
+ user_id?: string | undefined;
29
+ device_id?: string | undefined;
30
+ time?: number | undefined;
31
+ event_properties?: Record<string, unknown> | undefined;
32
+ user_properties?: Record<string, unknown> | undefined;
33
+ app_version?: string | undefined;
34
+ platform?: string | undefined;
35
+ os_name?: string | undefined;
36
+ os_version?: string | undefined;
37
+ device_brand?: string | undefined;
38
+ device_manufacturer?: string | undefined;
39
+ device_model?: string | undefined;
40
+ carrier?: string | undefined;
41
+ country?: string | undefined;
42
+ region?: string | undefined;
43
+ city?: string | undefined;
44
+ language?: string | undefined;
45
+ ip?: string | undefined;
46
+ insert_id?: string | undefined;
47
+ session_id?: number | undefined;
48
+ }, {
49
+ event_type: string;
50
+ user_id?: string | undefined;
51
+ device_id?: string | undefined;
52
+ time?: number | undefined;
53
+ event_properties?: Record<string, unknown> | undefined;
54
+ user_properties?: Record<string, unknown> | undefined;
55
+ app_version?: string | undefined;
56
+ platform?: string | undefined;
57
+ os_name?: string | undefined;
58
+ os_version?: string | undefined;
59
+ device_brand?: string | undefined;
60
+ device_manufacturer?: string | undefined;
61
+ device_model?: string | undefined;
62
+ carrier?: string | undefined;
63
+ country?: string | undefined;
64
+ region?: string | undefined;
65
+ city?: string | undefined;
66
+ language?: string | undefined;
67
+ ip?: string | undefined;
68
+ insert_id?: string | undefined;
69
+ session_id?: number | undefined;
70
+ }>, "many">;
71
+ options: z.ZodOptional<z.ZodObject<{
72
+ min_id_length: z.ZodOptional<z.ZodNumber>;
73
+ }, "strip", z.ZodTypeAny, {
74
+ min_id_length?: number | undefined;
75
+ }, {
76
+ min_id_length?: number | undefined;
77
+ }>>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ api_key: string;
80
+ events: {
81
+ event_type: string;
82
+ user_id?: string | undefined;
83
+ device_id?: string | undefined;
84
+ time?: number | undefined;
85
+ event_properties?: Record<string, unknown> | undefined;
86
+ user_properties?: Record<string, unknown> | undefined;
87
+ app_version?: string | undefined;
88
+ platform?: string | undefined;
89
+ os_name?: string | undefined;
90
+ os_version?: string | undefined;
91
+ device_brand?: string | undefined;
92
+ device_manufacturer?: string | undefined;
93
+ device_model?: string | undefined;
94
+ carrier?: string | undefined;
95
+ country?: string | undefined;
96
+ region?: string | undefined;
97
+ city?: string | undefined;
98
+ language?: string | undefined;
99
+ ip?: string | undefined;
100
+ insert_id?: string | undefined;
101
+ session_id?: number | undefined;
102
+ }[];
103
+ options?: {
104
+ min_id_length?: number | undefined;
105
+ } | undefined;
106
+ }, {
107
+ api_key: string;
108
+ events: {
109
+ event_type: string;
110
+ user_id?: string | undefined;
111
+ device_id?: string | undefined;
112
+ time?: number | undefined;
113
+ event_properties?: Record<string, unknown> | undefined;
114
+ user_properties?: Record<string, unknown> | undefined;
115
+ app_version?: string | undefined;
116
+ platform?: string | undefined;
117
+ os_name?: string | undefined;
118
+ os_version?: string | undefined;
119
+ device_brand?: string | undefined;
120
+ device_manufacturer?: string | undefined;
121
+ device_model?: string | undefined;
122
+ carrier?: string | undefined;
123
+ country?: string | undefined;
124
+ region?: string | undefined;
125
+ city?: string | undefined;
126
+ language?: string | undefined;
127
+ ip?: string | undefined;
128
+ insert_id?: string | undefined;
129
+ session_id?: number | undefined;
130
+ }[];
131
+ options?: {
132
+ min_id_length?: number | undefined;
133
+ } | undefined;
134
+ }>;
135
+ declare const EventsUploadResponseSchema: z.ZodObject<{
136
+ code: z.ZodNumber;
137
+ events_ingested: z.ZodOptional<z.ZodNumber>;
138
+ payload_size_bytes: z.ZodOptional<z.ZodNumber>;
139
+ server_upload_time: z.ZodOptional<z.ZodNumber>;
140
+ }, "strip", z.ZodTypeAny, {
141
+ code: number;
142
+ events_ingested?: number | undefined;
143
+ payload_size_bytes?: number | undefined;
144
+ server_upload_time?: number | undefined;
145
+ }, {
146
+ code: number;
147
+ events_ingested?: number | undefined;
148
+ payload_size_bytes?: number | undefined;
149
+ server_upload_time?: number | undefined;
150
+ }>;
151
+ export type EventsUploadInput = z.infer<typeof EventsUploadInputSchema>;
152
+ export type EventsUploadResponse = z.infer<typeof EventsUploadResponseSchema>;
153
+ declare const EventsUploadBatchInputSchema: z.ZodObject<{
154
+ api_key: z.ZodString;
155
+ events: z.ZodArray<z.ZodObject<{
156
+ event_type: z.ZodString;
157
+ user_id: z.ZodOptional<z.ZodString>;
158
+ device_id: z.ZodOptional<z.ZodString>;
159
+ time: z.ZodOptional<z.ZodNumber>;
160
+ event_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
161
+ user_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
162
+ app_version: z.ZodOptional<z.ZodString>;
163
+ platform: z.ZodOptional<z.ZodString>;
164
+ os_name: z.ZodOptional<z.ZodString>;
165
+ os_version: z.ZodOptional<z.ZodString>;
166
+ device_brand: z.ZodOptional<z.ZodString>;
167
+ device_manufacturer: z.ZodOptional<z.ZodString>;
168
+ device_model: z.ZodOptional<z.ZodString>;
169
+ carrier: z.ZodOptional<z.ZodString>;
170
+ country: z.ZodOptional<z.ZodString>;
171
+ region: z.ZodOptional<z.ZodString>;
172
+ city: z.ZodOptional<z.ZodString>;
173
+ language: z.ZodOptional<z.ZodString>;
174
+ ip: z.ZodOptional<z.ZodString>;
175
+ insert_id: z.ZodOptional<z.ZodString>;
176
+ session_id: z.ZodOptional<z.ZodNumber>;
177
+ }, "strip", z.ZodTypeAny, {
178
+ event_type: string;
179
+ user_id?: string | undefined;
180
+ device_id?: string | undefined;
181
+ time?: number | undefined;
182
+ event_properties?: Record<string, unknown> | undefined;
183
+ user_properties?: Record<string, unknown> | undefined;
184
+ app_version?: string | undefined;
185
+ platform?: string | undefined;
186
+ os_name?: string | undefined;
187
+ os_version?: string | undefined;
188
+ device_brand?: string | undefined;
189
+ device_manufacturer?: string | undefined;
190
+ device_model?: string | undefined;
191
+ carrier?: string | undefined;
192
+ country?: string | undefined;
193
+ region?: string | undefined;
194
+ city?: string | undefined;
195
+ language?: string | undefined;
196
+ ip?: string | undefined;
197
+ insert_id?: string | undefined;
198
+ session_id?: number | undefined;
199
+ }, {
200
+ event_type: string;
201
+ user_id?: string | undefined;
202
+ device_id?: string | undefined;
203
+ time?: number | undefined;
204
+ event_properties?: Record<string, unknown> | undefined;
205
+ user_properties?: Record<string, unknown> | undefined;
206
+ app_version?: string | undefined;
207
+ platform?: string | undefined;
208
+ os_name?: string | undefined;
209
+ os_version?: string | undefined;
210
+ device_brand?: string | undefined;
211
+ device_manufacturer?: string | undefined;
212
+ device_model?: string | undefined;
213
+ carrier?: string | undefined;
214
+ country?: string | undefined;
215
+ region?: string | undefined;
216
+ city?: string | undefined;
217
+ language?: string | undefined;
218
+ ip?: string | undefined;
219
+ insert_id?: string | undefined;
220
+ session_id?: number | undefined;
221
+ }>, "many">;
222
+ options: z.ZodOptional<z.ZodObject<{
223
+ min_id_length: z.ZodOptional<z.ZodNumber>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ min_id_length?: number | undefined;
226
+ }, {
227
+ min_id_length?: number | undefined;
228
+ }>>;
229
+ }, "strip", z.ZodTypeAny, {
230
+ api_key: string;
231
+ events: {
232
+ event_type: string;
233
+ user_id?: string | undefined;
234
+ device_id?: string | undefined;
235
+ time?: number | undefined;
236
+ event_properties?: Record<string, unknown> | undefined;
237
+ user_properties?: Record<string, unknown> | undefined;
238
+ app_version?: string | undefined;
239
+ platform?: string | undefined;
240
+ os_name?: string | undefined;
241
+ os_version?: string | undefined;
242
+ device_brand?: string | undefined;
243
+ device_manufacturer?: string | undefined;
244
+ device_model?: string | undefined;
245
+ carrier?: string | undefined;
246
+ country?: string | undefined;
247
+ region?: string | undefined;
248
+ city?: string | undefined;
249
+ language?: string | undefined;
250
+ ip?: string | undefined;
251
+ insert_id?: string | undefined;
252
+ session_id?: number | undefined;
253
+ }[];
254
+ options?: {
255
+ min_id_length?: number | undefined;
256
+ } | undefined;
257
+ }, {
258
+ api_key: string;
259
+ events: {
260
+ event_type: string;
261
+ user_id?: string | undefined;
262
+ device_id?: string | undefined;
263
+ time?: number | undefined;
264
+ event_properties?: Record<string, unknown> | undefined;
265
+ user_properties?: Record<string, unknown> | undefined;
266
+ app_version?: string | undefined;
267
+ platform?: string | undefined;
268
+ os_name?: string | undefined;
269
+ os_version?: string | undefined;
270
+ device_brand?: string | undefined;
271
+ device_manufacturer?: string | undefined;
272
+ device_model?: string | undefined;
273
+ carrier?: string | undefined;
274
+ country?: string | undefined;
275
+ region?: string | undefined;
276
+ city?: string | undefined;
277
+ language?: string | undefined;
278
+ ip?: string | undefined;
279
+ insert_id?: string | undefined;
280
+ session_id?: number | undefined;
281
+ }[];
282
+ options?: {
283
+ min_id_length?: number | undefined;
284
+ } | undefined;
285
+ }>;
286
+ declare const EventsUploadBatchResponseSchema: z.ZodObject<{
287
+ code: z.ZodNumber;
288
+ events_ingested: z.ZodOptional<z.ZodNumber>;
289
+ payload_size_bytes: z.ZodOptional<z.ZodNumber>;
290
+ server_upload_time: z.ZodOptional<z.ZodNumber>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ code: number;
293
+ events_ingested?: number | undefined;
294
+ payload_size_bytes?: number | undefined;
295
+ server_upload_time?: number | undefined;
296
+ }, {
297
+ code: number;
298
+ events_ingested?: number | undefined;
299
+ payload_size_bytes?: number | undefined;
300
+ server_upload_time?: number | undefined;
301
+ }>;
302
+ export type EventsUploadBatchInput = z.infer<typeof EventsUploadBatchInputSchema>;
303
+ export type EventsUploadBatchResponse = z.infer<typeof EventsUploadBatchResponseSchema>;
304
+ declare const EventsIdentifyUserInputSchema: z.ZodObject<{
305
+ api_key: z.ZodString;
306
+ identification: z.ZodArray<z.ZodObject<{
307
+ user_id: z.ZodOptional<z.ZodString>;
308
+ device_id: z.ZodOptional<z.ZodString>;
309
+ user_properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ user_properties: Record<string, unknown>;
312
+ user_id?: string | undefined;
313
+ device_id?: string | undefined;
314
+ }, {
315
+ user_properties: Record<string, unknown>;
316
+ user_id?: string | undefined;
317
+ device_id?: string | undefined;
318
+ }>, "many">;
319
+ }, "strip", z.ZodTypeAny, {
320
+ api_key: string;
321
+ identification: {
322
+ user_properties: Record<string, unknown>;
323
+ user_id?: string | undefined;
324
+ device_id?: string | undefined;
325
+ }[];
326
+ }, {
327
+ api_key: string;
328
+ identification: {
329
+ user_properties: Record<string, unknown>;
330
+ user_id?: string | undefined;
331
+ device_id?: string | undefined;
332
+ }[];
333
+ }>;
334
+ declare const EventsIdentifyUserResponseSchema: z.ZodObject<{
335
+ code: z.ZodNumber;
336
+ error: z.ZodOptional<z.ZodString>;
337
+ }, "strip", z.ZodTypeAny, {
338
+ code: number;
339
+ error?: string | undefined;
340
+ }, {
341
+ code: number;
342
+ error?: string | undefined;
343
+ }>;
344
+ export type EventsIdentifyUserInput = z.infer<typeof EventsIdentifyUserInputSchema>;
345
+ export type EventsIdentifyUserResponse = z.infer<typeof EventsIdentifyUserResponseSchema>;
346
+ declare const EventsGetListInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
347
+ declare const EventsGetListResponseSchema: z.ZodObject<{
348
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
349
+ event_type: z.ZodOptional<z.ZodString>;
350
+ display_name: z.ZodOptional<z.ZodString>;
351
+ totals: z.ZodOptional<z.ZodNumber>;
352
+ totals_delta: z.ZodOptional<z.ZodNumber>;
353
+ hidden: z.ZodOptional<z.ZodBoolean>;
354
+ deleted: z.ZodOptional<z.ZodBoolean>;
355
+ non_active: z.ZodOptional<z.ZodBoolean>;
356
+ }, "strip", z.ZodTypeAny, {
357
+ event_type?: string | undefined;
358
+ display_name?: string | undefined;
359
+ totals?: number | undefined;
360
+ totals_delta?: number | undefined;
361
+ hidden?: boolean | undefined;
362
+ deleted?: boolean | undefined;
363
+ non_active?: boolean | undefined;
364
+ }, {
365
+ event_type?: string | undefined;
366
+ display_name?: string | undefined;
367
+ totals?: number | undefined;
368
+ totals_delta?: number | undefined;
369
+ hidden?: boolean | undefined;
370
+ deleted?: boolean | undefined;
371
+ non_active?: boolean | undefined;
372
+ }>, "many">>;
373
+ }, "strip", z.ZodTypeAny, {
374
+ data?: {
375
+ event_type?: string | undefined;
376
+ display_name?: string | undefined;
377
+ totals?: number | undefined;
378
+ totals_delta?: number | undefined;
379
+ hidden?: boolean | undefined;
380
+ deleted?: boolean | undefined;
381
+ non_active?: boolean | undefined;
382
+ }[] | undefined;
383
+ }, {
384
+ data?: {
385
+ event_type?: string | undefined;
386
+ display_name?: string | undefined;
387
+ totals?: number | undefined;
388
+ totals_delta?: number | undefined;
389
+ hidden?: boolean | undefined;
390
+ deleted?: boolean | undefined;
391
+ non_active?: boolean | undefined;
392
+ }[] | undefined;
393
+ }>;
394
+ export type EventsGetListInput = z.infer<typeof EventsGetListInputSchema>;
395
+ export type EventsGetListResponse = z.infer<typeof EventsGetListResponseSchema>;
396
+ declare const UsersSearchInputSchema: z.ZodObject<{
397
+ user: z.ZodString;
398
+ limit: z.ZodOptional<z.ZodNumber>;
399
+ offset: z.ZodOptional<z.ZodNumber>;
400
+ }, "strip", z.ZodTypeAny, {
401
+ user: string;
402
+ limit?: number | undefined;
403
+ offset?: number | undefined;
404
+ }, {
405
+ user: string;
406
+ limit?: number | undefined;
407
+ offset?: number | undefined;
408
+ }>;
409
+ declare const UsersSearchResponseSchema: z.ZodObject<{
410
+ matches: z.ZodOptional<z.ZodArray<z.ZodObject<{
411
+ amplitude_id: z.ZodNumber;
412
+ user_id: z.ZodOptional<z.ZodString>;
413
+ last_seen: z.ZodOptional<z.ZodNumber>;
414
+ is_identified: z.ZodOptional<z.ZodBoolean>;
415
+ country: z.ZodOptional<z.ZodString>;
416
+ city: z.ZodOptional<z.ZodString>;
417
+ platform: z.ZodOptional<z.ZodString>;
418
+ os: z.ZodOptional<z.ZodString>;
419
+ device: z.ZodOptional<z.ZodString>;
420
+ }, "strip", z.ZodTypeAny, {
421
+ amplitude_id: number;
422
+ user_id?: string | undefined;
423
+ platform?: string | undefined;
424
+ country?: string | undefined;
425
+ city?: string | undefined;
426
+ last_seen?: number | undefined;
427
+ is_identified?: boolean | undefined;
428
+ os?: string | undefined;
429
+ device?: string | undefined;
430
+ }, {
431
+ amplitude_id: number;
432
+ user_id?: string | undefined;
433
+ platform?: string | undefined;
434
+ country?: string | undefined;
435
+ city?: string | undefined;
436
+ last_seen?: number | undefined;
437
+ is_identified?: boolean | undefined;
438
+ os?: string | undefined;
439
+ device?: string | undefined;
440
+ }>, "many">>;
441
+ next: z.ZodOptional<z.ZodString>;
442
+ }, "strip", z.ZodTypeAny, {
443
+ matches?: {
444
+ amplitude_id: number;
445
+ user_id?: string | undefined;
446
+ platform?: string | undefined;
447
+ country?: string | undefined;
448
+ city?: string | undefined;
449
+ last_seen?: number | undefined;
450
+ is_identified?: boolean | undefined;
451
+ os?: string | undefined;
452
+ device?: string | undefined;
453
+ }[] | undefined;
454
+ next?: string | undefined;
455
+ }, {
456
+ matches?: {
457
+ amplitude_id: number;
458
+ user_id?: string | undefined;
459
+ platform?: string | undefined;
460
+ country?: string | undefined;
461
+ city?: string | undefined;
462
+ last_seen?: number | undefined;
463
+ is_identified?: boolean | undefined;
464
+ os?: string | undefined;
465
+ device?: string | undefined;
466
+ }[] | undefined;
467
+ next?: string | undefined;
468
+ }>;
469
+ export type UsersSearchInput = z.infer<typeof UsersSearchInputSchema>;
470
+ export type UsersSearchResponse = z.infer<typeof UsersSearchResponseSchema>;
471
+ declare const UsersGetProfileInputSchema: z.ZodObject<{
472
+ user_id: z.ZodOptional<z.ZodString>;
473
+ amplitude_id: z.ZodOptional<z.ZodNumber>;
474
+ }, "strip", z.ZodTypeAny, {
475
+ user_id?: string | undefined;
476
+ amplitude_id?: number | undefined;
477
+ }, {
478
+ user_id?: string | undefined;
479
+ amplitude_id?: number | undefined;
480
+ }>;
481
+ declare const UsersGetProfileResponseSchema: z.ZodObject<{
482
+ userData: z.ZodOptional<z.ZodObject<{
483
+ user_id: z.ZodOptional<z.ZodString>;
484
+ amplitude_id: z.ZodOptional<z.ZodNumber>;
485
+ canonical_amplitude_id: z.ZodOptional<z.ZodNumber>;
486
+ merged_amplitude_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
487
+ is_identified: z.ZodOptional<z.ZodBoolean>;
488
+ user_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
489
+ country: z.ZodOptional<z.ZodString>;
490
+ region: z.ZodOptional<z.ZodString>;
491
+ city: z.ZodOptional<z.ZodString>;
492
+ language: z.ZodOptional<z.ZodString>;
493
+ platform: z.ZodOptional<z.ZodString>;
494
+ os: z.ZodOptional<z.ZodString>;
495
+ device: z.ZodOptional<z.ZodString>;
496
+ last_seen: z.ZodOptional<z.ZodNumber>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ user_id?: string | undefined;
499
+ user_properties?: Record<string, unknown> | undefined;
500
+ platform?: string | undefined;
501
+ country?: string | undefined;
502
+ region?: string | undefined;
503
+ city?: string | undefined;
504
+ language?: string | undefined;
505
+ amplitude_id?: number | undefined;
506
+ last_seen?: number | undefined;
507
+ is_identified?: boolean | undefined;
508
+ os?: string | undefined;
509
+ device?: string | undefined;
510
+ canonical_amplitude_id?: number | undefined;
511
+ merged_amplitude_ids?: number[] | undefined;
512
+ }, {
513
+ user_id?: string | undefined;
514
+ user_properties?: Record<string, unknown> | undefined;
515
+ platform?: string | undefined;
516
+ country?: string | undefined;
517
+ region?: string | undefined;
518
+ city?: string | undefined;
519
+ language?: string | undefined;
520
+ amplitude_id?: number | undefined;
521
+ last_seen?: number | undefined;
522
+ is_identified?: boolean | undefined;
523
+ os?: string | undefined;
524
+ device?: string | undefined;
525
+ canonical_amplitude_id?: number | undefined;
526
+ merged_amplitude_ids?: number[] | undefined;
527
+ }>>;
528
+ }, "strip", z.ZodTypeAny, {
529
+ userData?: {
530
+ user_id?: string | undefined;
531
+ user_properties?: Record<string, unknown> | undefined;
532
+ platform?: string | undefined;
533
+ country?: string | undefined;
534
+ region?: string | undefined;
535
+ city?: string | undefined;
536
+ language?: string | undefined;
537
+ amplitude_id?: number | undefined;
538
+ last_seen?: number | undefined;
539
+ is_identified?: boolean | undefined;
540
+ os?: string | undefined;
541
+ device?: string | undefined;
542
+ canonical_amplitude_id?: number | undefined;
543
+ merged_amplitude_ids?: number[] | undefined;
544
+ } | undefined;
545
+ }, {
546
+ userData?: {
547
+ user_id?: string | undefined;
548
+ user_properties?: Record<string, unknown> | undefined;
549
+ platform?: string | undefined;
550
+ country?: string | undefined;
551
+ region?: string | undefined;
552
+ city?: string | undefined;
553
+ language?: string | undefined;
554
+ amplitude_id?: number | undefined;
555
+ last_seen?: number | undefined;
556
+ is_identified?: boolean | undefined;
557
+ os?: string | undefined;
558
+ device?: string | undefined;
559
+ canonical_amplitude_id?: number | undefined;
560
+ merged_amplitude_ids?: number[] | undefined;
561
+ } | undefined;
562
+ }>;
563
+ export type UsersGetProfileInput = z.infer<typeof UsersGetProfileInputSchema>;
564
+ export type UsersGetProfileResponse = z.infer<typeof UsersGetProfileResponseSchema>;
565
+ declare const UsersGetActivityInputSchema: z.ZodObject<{
566
+ user: z.ZodNumber;
567
+ limit: z.ZodOptional<z.ZodNumber>;
568
+ offset: z.ZodOptional<z.ZodNumber>;
569
+ }, "strip", z.ZodTypeAny, {
570
+ user: number;
571
+ limit?: number | undefined;
572
+ offset?: number | undefined;
573
+ }, {
574
+ user: number;
575
+ limit?: number | undefined;
576
+ offset?: number | undefined;
577
+ }>;
578
+ declare const UsersGetActivityResponseSchema: z.ZodObject<{
579
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
580
+ event_type: z.ZodOptional<z.ZodString>;
581
+ event_time: z.ZodOptional<z.ZodString>;
582
+ event_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
583
+ session_id: z.ZodOptional<z.ZodNumber>;
584
+ amplitude_id: z.ZodOptional<z.ZodNumber>;
585
+ }, "strip", z.ZodTypeAny, {
586
+ event_type?: string | undefined;
587
+ event_properties?: Record<string, unknown> | undefined;
588
+ session_id?: number | undefined;
589
+ amplitude_id?: number | undefined;
590
+ event_time?: string | undefined;
591
+ }, {
592
+ event_type?: string | undefined;
593
+ event_properties?: Record<string, unknown> | undefined;
594
+ session_id?: number | undefined;
595
+ amplitude_id?: number | undefined;
596
+ event_time?: string | undefined;
597
+ }>, "many">>;
598
+ userData: z.ZodOptional<z.ZodObject<{
599
+ num_events: z.ZodOptional<z.ZodNumber>;
600
+ num_sessions: z.ZodOptional<z.ZodNumber>;
601
+ first_used: z.ZodOptional<z.ZodString>;
602
+ last_used: z.ZodOptional<z.ZodString>;
603
+ canonical_amplitude_id: z.ZodOptional<z.ZodNumber>;
604
+ }, "strip", z.ZodTypeAny, {
605
+ canonical_amplitude_id?: number | undefined;
606
+ num_events?: number | undefined;
607
+ num_sessions?: number | undefined;
608
+ first_used?: string | undefined;
609
+ last_used?: string | undefined;
610
+ }, {
611
+ canonical_amplitude_id?: number | undefined;
612
+ num_events?: number | undefined;
613
+ num_sessions?: number | undefined;
614
+ first_used?: string | undefined;
615
+ last_used?: string | undefined;
616
+ }>>;
617
+ }, "strip", z.ZodTypeAny, {
618
+ events?: {
619
+ event_type?: string | undefined;
620
+ event_properties?: Record<string, unknown> | undefined;
621
+ session_id?: number | undefined;
622
+ amplitude_id?: number | undefined;
623
+ event_time?: string | undefined;
624
+ }[] | undefined;
625
+ userData?: {
626
+ canonical_amplitude_id?: number | undefined;
627
+ num_events?: number | undefined;
628
+ num_sessions?: number | undefined;
629
+ first_used?: string | undefined;
630
+ last_used?: string | undefined;
631
+ } | undefined;
632
+ }, {
633
+ events?: {
634
+ event_type?: string | undefined;
635
+ event_properties?: Record<string, unknown> | undefined;
636
+ session_id?: number | undefined;
637
+ amplitude_id?: number | undefined;
638
+ event_time?: string | undefined;
639
+ }[] | undefined;
640
+ userData?: {
641
+ canonical_amplitude_id?: number | undefined;
642
+ num_events?: number | undefined;
643
+ num_sessions?: number | undefined;
644
+ first_used?: string | undefined;
645
+ last_used?: string | undefined;
646
+ } | undefined;
647
+ }>;
648
+ export type UsersGetActivityInput = z.infer<typeof UsersGetActivityInputSchema>;
649
+ export type UsersGetActivityResponse = z.infer<typeof UsersGetActivityResponseSchema>;
650
+ declare const CohortsListInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
651
+ declare const CohortsListResponseSchema: z.ZodObject<{
652
+ cohorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
653
+ id: z.ZodString;
654
+ name: z.ZodString;
655
+ owners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
656
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
657
+ published: z.ZodOptional<z.ZodBoolean>;
658
+ archived: z.ZodOptional<z.ZodBoolean>;
659
+ app_id: z.ZodOptional<z.ZodNumber>;
660
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
661
+ last_computed: z.ZodOptional<z.ZodNumber>;
662
+ last_modified: z.ZodOptional<z.ZodNumber>;
663
+ is_predefined: z.ZodOptional<z.ZodBoolean>;
664
+ type: z.ZodOptional<z.ZodString>;
665
+ }, "strip", z.ZodTypeAny, {
666
+ id: string;
667
+ name: string;
668
+ type?: string | undefined;
669
+ description?: string | null | undefined;
670
+ owners?: string[] | undefined;
671
+ published?: boolean | undefined;
672
+ archived?: boolean | undefined;
673
+ app_id?: number | undefined;
674
+ size?: number | null | undefined;
675
+ last_computed?: number | undefined;
676
+ last_modified?: number | undefined;
677
+ is_predefined?: boolean | undefined;
678
+ }, {
679
+ id: string;
680
+ name: string;
681
+ type?: string | undefined;
682
+ description?: string | null | undefined;
683
+ owners?: string[] | undefined;
684
+ published?: boolean | undefined;
685
+ archived?: boolean | undefined;
686
+ app_id?: number | undefined;
687
+ size?: number | null | undefined;
688
+ last_computed?: number | undefined;
689
+ last_modified?: number | undefined;
690
+ is_predefined?: boolean | undefined;
691
+ }>, "many">>;
692
+ }, "strip", z.ZodTypeAny, {
693
+ cohorts?: {
694
+ id: string;
695
+ name: string;
696
+ type?: string | undefined;
697
+ description?: string | null | undefined;
698
+ owners?: string[] | undefined;
699
+ published?: boolean | undefined;
700
+ archived?: boolean | undefined;
701
+ app_id?: number | undefined;
702
+ size?: number | null | undefined;
703
+ last_computed?: number | undefined;
704
+ last_modified?: number | undefined;
705
+ is_predefined?: boolean | undefined;
706
+ }[] | undefined;
707
+ }, {
708
+ cohorts?: {
709
+ id: string;
710
+ name: string;
711
+ type?: string | undefined;
712
+ description?: string | null | undefined;
713
+ owners?: string[] | undefined;
714
+ published?: boolean | undefined;
715
+ archived?: boolean | undefined;
716
+ app_id?: number | undefined;
717
+ size?: number | null | undefined;
718
+ last_computed?: number | undefined;
719
+ last_modified?: number | undefined;
720
+ is_predefined?: boolean | undefined;
721
+ }[] | undefined;
722
+ }>;
723
+ export type CohortsListInput = z.infer<typeof CohortsListInputSchema>;
724
+ export type CohortsListResponse = z.infer<typeof CohortsListResponseSchema>;
725
+ declare const CohortsGetInputSchema: z.ZodObject<{
726
+ cohort_id: z.ZodString;
727
+ }, "strip", z.ZodTypeAny, {
728
+ cohort_id: string;
729
+ }, {
730
+ cohort_id: string;
731
+ }>;
732
+ declare const CohortsGetResponseSchema: z.ZodObject<{
733
+ cohort: z.ZodOptional<z.ZodObject<{
734
+ id: z.ZodString;
735
+ name: z.ZodString;
736
+ owners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
737
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
738
+ published: z.ZodOptional<z.ZodBoolean>;
739
+ archived: z.ZodOptional<z.ZodBoolean>;
740
+ app_id: z.ZodOptional<z.ZodNumber>;
741
+ size: z.ZodOptional<z.ZodNumber>;
742
+ last_computed: z.ZodOptional<z.ZodNumber>;
743
+ last_modified: z.ZodOptional<z.ZodNumber>;
744
+ is_predefined: z.ZodOptional<z.ZodBoolean>;
745
+ type: z.ZodOptional<z.ZodString>;
746
+ }, "strip", z.ZodTypeAny, {
747
+ id: string;
748
+ name: string;
749
+ type?: string | undefined;
750
+ description?: string | null | undefined;
751
+ owners?: string[] | undefined;
752
+ published?: boolean | undefined;
753
+ archived?: boolean | undefined;
754
+ app_id?: number | undefined;
755
+ size?: number | undefined;
756
+ last_computed?: number | undefined;
757
+ last_modified?: number | undefined;
758
+ is_predefined?: boolean | undefined;
759
+ }, {
760
+ id: string;
761
+ name: string;
762
+ type?: string | undefined;
763
+ description?: string | null | undefined;
764
+ owners?: string[] | undefined;
765
+ published?: boolean | undefined;
766
+ archived?: boolean | undefined;
767
+ app_id?: number | undefined;
768
+ size?: number | undefined;
769
+ last_computed?: number | undefined;
770
+ last_modified?: number | undefined;
771
+ is_predefined?: boolean | undefined;
772
+ }>>;
773
+ }, "strip", z.ZodTypeAny, {
774
+ cohort?: {
775
+ id: string;
776
+ name: string;
777
+ type?: string | undefined;
778
+ description?: string | null | undefined;
779
+ owners?: string[] | undefined;
780
+ published?: boolean | undefined;
781
+ archived?: boolean | undefined;
782
+ app_id?: number | undefined;
783
+ size?: number | undefined;
784
+ last_computed?: number | undefined;
785
+ last_modified?: number | undefined;
786
+ is_predefined?: boolean | undefined;
787
+ } | undefined;
788
+ }, {
789
+ cohort?: {
790
+ id: string;
791
+ name: string;
792
+ type?: string | undefined;
793
+ description?: string | null | undefined;
794
+ owners?: string[] | undefined;
795
+ published?: boolean | undefined;
796
+ archived?: boolean | undefined;
797
+ app_id?: number | undefined;
798
+ size?: number | undefined;
799
+ last_computed?: number | undefined;
800
+ last_modified?: number | undefined;
801
+ is_predefined?: boolean | undefined;
802
+ } | undefined;
803
+ }>;
804
+ export type CohortsGetInput = z.infer<typeof CohortsGetInputSchema>;
805
+ export type CohortsGetResponse = z.infer<typeof CohortsGetResponseSchema>;
806
+ declare const CohortsCreateInputSchema: z.ZodObject<{
807
+ name: z.ZodString;
808
+ app_id: z.ZodNumber;
809
+ id_type: z.ZodEnum<["BY_AMP_ID", "BY_USER_ID", "BY_DEVICE_ID"]>;
810
+ ids: z.ZodArray<z.ZodString, "many">;
811
+ owners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
812
+ description: z.ZodOptional<z.ZodString>;
813
+ published: z.ZodOptional<z.ZodBoolean>;
814
+ }, "strip", z.ZodTypeAny, {
815
+ name: string;
816
+ app_id: number;
817
+ id_type: "BY_AMP_ID" | "BY_USER_ID" | "BY_DEVICE_ID";
818
+ ids: string[];
819
+ description?: string | undefined;
820
+ owners?: string[] | undefined;
821
+ published?: boolean | undefined;
822
+ }, {
823
+ name: string;
824
+ app_id: number;
825
+ id_type: "BY_AMP_ID" | "BY_USER_ID" | "BY_DEVICE_ID";
826
+ ids: string[];
827
+ description?: string | undefined;
828
+ owners?: string[] | undefined;
829
+ published?: boolean | undefined;
830
+ }>;
831
+ declare const CohortsCreateResponseSchema: z.ZodObject<{
832
+ cohort: z.ZodOptional<z.ZodObject<{
833
+ id: z.ZodString;
834
+ name: z.ZodString;
835
+ size: z.ZodOptional<z.ZodNumber>;
836
+ last_computed: z.ZodOptional<z.ZodNumber>;
837
+ }, "strip", z.ZodTypeAny, {
838
+ id: string;
839
+ name: string;
840
+ size?: number | undefined;
841
+ last_computed?: number | undefined;
842
+ }, {
843
+ id: string;
844
+ name: string;
845
+ size?: number | undefined;
846
+ last_computed?: number | undefined;
847
+ }>>;
848
+ }, "strip", z.ZodTypeAny, {
849
+ cohort?: {
850
+ id: string;
851
+ name: string;
852
+ size?: number | undefined;
853
+ last_computed?: number | undefined;
854
+ } | undefined;
855
+ }, {
856
+ cohort?: {
857
+ id: string;
858
+ name: string;
859
+ size?: number | undefined;
860
+ last_computed?: number | undefined;
861
+ } | undefined;
862
+ }>;
863
+ export type CohortsCreateInput = z.infer<typeof CohortsCreateInputSchema>;
864
+ export type CohortsCreateResponse = z.infer<typeof CohortsCreateResponseSchema>;
865
+ declare const CohortsGetMembersInputSchema: z.ZodObject<{
866
+ request_id: z.ZodString;
867
+ }, "strip", z.ZodTypeAny, {
868
+ request_id: string;
869
+ }, {
870
+ request_id: string;
871
+ }>;
872
+ declare const CohortsGetMembersResponseSchema: z.ZodObject<{
873
+ status: z.ZodOptional<z.ZodString>;
874
+ zip_url: z.ZodOptional<z.ZodString>;
875
+ }, "strip", z.ZodTypeAny, {
876
+ status?: string | undefined;
877
+ zip_url?: string | undefined;
878
+ }, {
879
+ status?: string | undefined;
880
+ zip_url?: string | undefined;
881
+ }>;
882
+ export type CohortsGetMembersInput = z.infer<typeof CohortsGetMembersInputSchema>;
883
+ export type CohortsGetMembersResponse = z.infer<typeof CohortsGetMembersResponseSchema>;
884
+ declare const ChartsGetInputSchema: z.ZodObject<{
885
+ chart_id: z.ZodString;
886
+ }, "strip", z.ZodTypeAny, {
887
+ chart_id: string;
888
+ }, {
889
+ chart_id: string;
890
+ }>;
891
+ declare const ChartsGetResponseSchema: z.ZodObject<{
892
+ data: z.ZodOptional<z.ZodObject<{
893
+ series: z.ZodOptional<z.ZodArray<z.ZodObject<{
894
+ type: z.ZodOptional<z.ZodString>;
895
+ values: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
896
+ }, "strip", z.ZodTypeAny, {
897
+ values?: unknown[] | undefined;
898
+ type?: string | undefined;
899
+ }, {
900
+ values?: unknown[] | undefined;
901
+ type?: string | undefined;
902
+ }>, "many">>;
903
+ xValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
904
+ }, "strip", z.ZodTypeAny, {
905
+ series?: {
906
+ values?: unknown[] | undefined;
907
+ type?: string | undefined;
908
+ }[] | undefined;
909
+ xValues?: string[] | undefined;
910
+ }, {
911
+ series?: {
912
+ values?: unknown[] | undefined;
913
+ type?: string | undefined;
914
+ }[] | undefined;
915
+ xValues?: string[] | undefined;
916
+ }>>;
917
+ seriesLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
918
+ title: z.ZodOptional<z.ZodString>;
919
+ }, "strip", z.ZodTypeAny, {
920
+ data?: {
921
+ series?: {
922
+ values?: unknown[] | undefined;
923
+ type?: string | undefined;
924
+ }[] | undefined;
925
+ xValues?: string[] | undefined;
926
+ } | undefined;
927
+ seriesLabels?: string[] | undefined;
928
+ title?: string | undefined;
929
+ }, {
930
+ data?: {
931
+ series?: {
932
+ values?: unknown[] | undefined;
933
+ type?: string | undefined;
934
+ }[] | undefined;
935
+ xValues?: string[] | undefined;
936
+ } | undefined;
937
+ seriesLabels?: string[] | undefined;
938
+ title?: string | undefined;
939
+ }>;
940
+ export type ChartsGetInput = z.infer<typeof ChartsGetInputSchema>;
941
+ export type ChartsGetResponse = z.infer<typeof ChartsGetResponseSchema>;
942
+ declare const DashboardsListInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
943
+ declare const DashboardsListResponseSchema: z.ZodObject<{
944
+ dashboards: z.ZodOptional<z.ZodArray<z.ZodObject<{
945
+ id: z.ZodNumber;
946
+ name: z.ZodString;
947
+ description: z.ZodOptional<z.ZodString>;
948
+ created: z.ZodOptional<z.ZodString>;
949
+ lastUpdated: z.ZodOptional<z.ZodString>;
950
+ createdBy: z.ZodOptional<z.ZodString>;
951
+ published: z.ZodOptional<z.ZodBoolean>;
952
+ }, "strip", z.ZodTypeAny, {
953
+ id: number;
954
+ name: string;
955
+ description?: string | undefined;
956
+ published?: boolean | undefined;
957
+ created?: string | undefined;
958
+ lastUpdated?: string | undefined;
959
+ createdBy?: string | undefined;
960
+ }, {
961
+ id: number;
962
+ name: string;
963
+ description?: string | undefined;
964
+ published?: boolean | undefined;
965
+ created?: string | undefined;
966
+ lastUpdated?: string | undefined;
967
+ createdBy?: string | undefined;
968
+ }>, "many">>;
969
+ }, "strip", z.ZodTypeAny, {
970
+ dashboards?: {
971
+ id: number;
972
+ name: string;
973
+ description?: string | undefined;
974
+ published?: boolean | undefined;
975
+ created?: string | undefined;
976
+ lastUpdated?: string | undefined;
977
+ createdBy?: string | undefined;
978
+ }[] | undefined;
979
+ }, {
980
+ dashboards?: {
981
+ id: number;
982
+ name: string;
983
+ description?: string | undefined;
984
+ published?: boolean | undefined;
985
+ created?: string | undefined;
986
+ lastUpdated?: string | undefined;
987
+ createdBy?: string | undefined;
988
+ }[] | undefined;
989
+ }>;
990
+ export type DashboardsListInput = z.infer<typeof DashboardsListInputSchema>;
991
+ export type DashboardsListResponse = z.infer<typeof DashboardsListResponseSchema>;
992
+ declare const DashboardsGetInputSchema: z.ZodObject<{
993
+ dashboard_id: z.ZodNumber;
994
+ }, "strip", z.ZodTypeAny, {
995
+ dashboard_id: number;
996
+ }, {
997
+ dashboard_id: number;
998
+ }>;
999
+ declare const DashboardsGetResponseSchema: z.ZodObject<{
1000
+ dashboard: z.ZodOptional<z.ZodObject<{
1001
+ id: z.ZodNumber;
1002
+ name: z.ZodString;
1003
+ description: z.ZodOptional<z.ZodString>;
1004
+ created: z.ZodOptional<z.ZodString>;
1005
+ lastUpdated: z.ZodOptional<z.ZodString>;
1006
+ createdBy: z.ZodOptional<z.ZodString>;
1007
+ published: z.ZodOptional<z.ZodBoolean>;
1008
+ charts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1009
+ id: z.ZodString;
1010
+ name: z.ZodOptional<z.ZodString>;
1011
+ }, "strip", z.ZodTypeAny, {
1012
+ id: string;
1013
+ name?: string | undefined;
1014
+ }, {
1015
+ id: string;
1016
+ name?: string | undefined;
1017
+ }>, "many">>;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ id: number;
1020
+ name: string;
1021
+ description?: string | undefined;
1022
+ published?: boolean | undefined;
1023
+ created?: string | undefined;
1024
+ lastUpdated?: string | undefined;
1025
+ createdBy?: string | undefined;
1026
+ charts?: {
1027
+ id: string;
1028
+ name?: string | undefined;
1029
+ }[] | undefined;
1030
+ }, {
1031
+ id: number;
1032
+ name: string;
1033
+ description?: string | undefined;
1034
+ published?: boolean | undefined;
1035
+ created?: string | undefined;
1036
+ lastUpdated?: string | undefined;
1037
+ createdBy?: string | undefined;
1038
+ charts?: {
1039
+ id: string;
1040
+ name?: string | undefined;
1041
+ }[] | undefined;
1042
+ }>>;
1043
+ }, "strip", z.ZodTypeAny, {
1044
+ dashboard?: {
1045
+ id: number;
1046
+ name: string;
1047
+ description?: string | undefined;
1048
+ published?: boolean | undefined;
1049
+ created?: string | undefined;
1050
+ lastUpdated?: string | undefined;
1051
+ createdBy?: string | undefined;
1052
+ charts?: {
1053
+ id: string;
1054
+ name?: string | undefined;
1055
+ }[] | undefined;
1056
+ } | undefined;
1057
+ }, {
1058
+ dashboard?: {
1059
+ id: number;
1060
+ name: string;
1061
+ description?: string | undefined;
1062
+ published?: boolean | undefined;
1063
+ created?: string | undefined;
1064
+ lastUpdated?: string | undefined;
1065
+ createdBy?: string | undefined;
1066
+ charts?: {
1067
+ id: string;
1068
+ name?: string | undefined;
1069
+ }[] | undefined;
1070
+ } | undefined;
1071
+ }>;
1072
+ export type DashboardsGetInput = z.infer<typeof DashboardsGetInputSchema>;
1073
+ export type DashboardsGetResponse = z.infer<typeof DashboardsGetResponseSchema>;
1074
+ declare const AnnotationsListInputSchema: z.ZodObject<{
1075
+ app_id: z.ZodOptional<z.ZodNumber>;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ app_id?: number | undefined;
1078
+ }, {
1079
+ app_id?: number | undefined;
1080
+ }>;
1081
+ declare const AnnotationsListResponseSchema: z.ZodObject<{
1082
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
1083
+ id: z.ZodNumber;
1084
+ date: z.ZodString;
1085
+ label: z.ZodString;
1086
+ details: z.ZodOptional<z.ZodString>;
1087
+ app_id: z.ZodOptional<z.ZodNumber>;
1088
+ source: z.ZodOptional<z.ZodString>;
1089
+ }, "strip", z.ZodTypeAny, {
1090
+ date: string;
1091
+ id: number;
1092
+ label: string;
1093
+ app_id?: number | undefined;
1094
+ details?: string | undefined;
1095
+ source?: string | undefined;
1096
+ }, {
1097
+ date: string;
1098
+ id: number;
1099
+ label: string;
1100
+ app_id?: number | undefined;
1101
+ details?: string | undefined;
1102
+ source?: string | undefined;
1103
+ }>, "many">>;
1104
+ }, "strip", z.ZodTypeAny, {
1105
+ data?: {
1106
+ date: string;
1107
+ id: number;
1108
+ label: string;
1109
+ app_id?: number | undefined;
1110
+ details?: string | undefined;
1111
+ source?: string | undefined;
1112
+ }[] | undefined;
1113
+ }, {
1114
+ data?: {
1115
+ date: string;
1116
+ id: number;
1117
+ label: string;
1118
+ app_id?: number | undefined;
1119
+ details?: string | undefined;
1120
+ source?: string | undefined;
1121
+ }[] | undefined;
1122
+ }>;
1123
+ export type AnnotationsListInput = z.infer<typeof AnnotationsListInputSchema>;
1124
+ export type AnnotationsListResponse = z.infer<typeof AnnotationsListResponseSchema>;
1125
+ declare const AnnotationsCreateInputSchema: z.ZodObject<{
1126
+ date: z.ZodString;
1127
+ label: z.ZodString;
1128
+ details: z.ZodOptional<z.ZodString>;
1129
+ app_id: z.ZodOptional<z.ZodNumber>;
1130
+ }, "strip", z.ZodTypeAny, {
1131
+ date: string;
1132
+ label: string;
1133
+ app_id?: number | undefined;
1134
+ details?: string | undefined;
1135
+ }, {
1136
+ date: string;
1137
+ label: string;
1138
+ app_id?: number | undefined;
1139
+ details?: string | undefined;
1140
+ }>;
1141
+ declare const AnnotationsCreateResponseSchema: z.ZodObject<{
1142
+ data: z.ZodOptional<z.ZodObject<{
1143
+ id: z.ZodNumber;
1144
+ date: z.ZodString;
1145
+ label: z.ZodString;
1146
+ details: z.ZodOptional<z.ZodString>;
1147
+ app_id: z.ZodOptional<z.ZodNumber>;
1148
+ }, "strip", z.ZodTypeAny, {
1149
+ date: string;
1150
+ id: number;
1151
+ label: string;
1152
+ app_id?: number | undefined;
1153
+ details?: string | undefined;
1154
+ }, {
1155
+ date: string;
1156
+ id: number;
1157
+ label: string;
1158
+ app_id?: number | undefined;
1159
+ details?: string | undefined;
1160
+ }>>;
1161
+ }, "strip", z.ZodTypeAny, {
1162
+ data?: {
1163
+ date: string;
1164
+ id: number;
1165
+ label: string;
1166
+ app_id?: number | undefined;
1167
+ details?: string | undefined;
1168
+ } | undefined;
1169
+ }, {
1170
+ data?: {
1171
+ date: string;
1172
+ id: number;
1173
+ label: string;
1174
+ app_id?: number | undefined;
1175
+ details?: string | undefined;
1176
+ } | undefined;
1177
+ }>;
1178
+ export type AnnotationsCreateInput = z.infer<typeof AnnotationsCreateInputSchema>;
1179
+ export type AnnotationsCreateResponse = z.infer<typeof AnnotationsCreateResponseSchema>;
1180
+ declare const ExportsGetDataInputSchema: z.ZodObject<{
1181
+ start: z.ZodString;
1182
+ end: z.ZodString;
1183
+ }, "strip", z.ZodTypeAny, {
1184
+ start: string;
1185
+ end: string;
1186
+ }, {
1187
+ start: string;
1188
+ end: string;
1189
+ }>;
1190
+ declare const ExportsGetDataResponseSchema: z.ZodObject<{
1191
+ status: z.ZodOptional<z.ZodString>;
1192
+ url: z.ZodOptional<z.ZodString>;
1193
+ }, "strip", z.ZodTypeAny, {
1194
+ status?: string | undefined;
1195
+ url?: string | undefined;
1196
+ }, {
1197
+ status?: string | undefined;
1198
+ url?: string | undefined;
1199
+ }>;
1200
+ export type ExportsGetDataInput = z.infer<typeof ExportsGetDataInputSchema>;
1201
+ export type ExportsGetDataResponse = z.infer<typeof ExportsGetDataResponseSchema>;
1202
+ export type AmplitudeEndpointInputs = {
1203
+ eventsUpload: EventsUploadInput;
1204
+ eventsUploadBatch: EventsUploadBatchInput;
1205
+ eventsIdentifyUser: EventsIdentifyUserInput;
1206
+ eventsGetList: EventsGetListInput;
1207
+ usersSearch: UsersSearchInput;
1208
+ usersGetProfile: UsersGetProfileInput;
1209
+ usersGetActivity: UsersGetActivityInput;
1210
+ cohortsList: CohortsListInput;
1211
+ cohortsGet: CohortsGetInput;
1212
+ cohortsCreate: CohortsCreateInput;
1213
+ cohortsGetMembers: CohortsGetMembersInput;
1214
+ chartsGet: ChartsGetInput;
1215
+ dashboardsList: DashboardsListInput;
1216
+ dashboardsGet: DashboardsGetInput;
1217
+ annotationsList: AnnotationsListInput;
1218
+ annotationsCreate: AnnotationsCreateInput;
1219
+ exportsGetData: ExportsGetDataInput;
1220
+ };
1221
+ export type AmplitudeEndpointOutputs = {
1222
+ eventsUpload: EventsUploadResponse;
1223
+ eventsUploadBatch: EventsUploadBatchResponse;
1224
+ eventsIdentifyUser: EventsIdentifyUserResponse;
1225
+ eventsGetList: EventsGetListResponse;
1226
+ usersSearch: UsersSearchResponse;
1227
+ usersGetProfile: UsersGetProfileResponse;
1228
+ usersGetActivity: UsersGetActivityResponse;
1229
+ cohortsList: CohortsListResponse;
1230
+ cohortsGet: CohortsGetResponse;
1231
+ cohortsCreate: CohortsCreateResponse;
1232
+ cohortsGetMembers: CohortsGetMembersResponse;
1233
+ chartsGet: ChartsGetResponse;
1234
+ dashboardsList: DashboardsListResponse;
1235
+ dashboardsGet: DashboardsGetResponse;
1236
+ annotationsList: AnnotationsListResponse;
1237
+ annotationsCreate: AnnotationsCreateResponse;
1238
+ exportsGetData: ExportsGetDataResponse;
1239
+ };
1240
+ export declare const AmplitudeEndpointInputSchemas: {
1241
+ readonly eventsUpload: z.ZodObject<{
1242
+ api_key: z.ZodString;
1243
+ events: z.ZodArray<z.ZodObject<{
1244
+ event_type: z.ZodString;
1245
+ user_id: z.ZodOptional<z.ZodString>;
1246
+ device_id: z.ZodOptional<z.ZodString>;
1247
+ time: z.ZodOptional<z.ZodNumber>;
1248
+ event_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1249
+ user_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1250
+ app_version: z.ZodOptional<z.ZodString>;
1251
+ platform: z.ZodOptional<z.ZodString>;
1252
+ os_name: z.ZodOptional<z.ZodString>;
1253
+ os_version: z.ZodOptional<z.ZodString>;
1254
+ device_brand: z.ZodOptional<z.ZodString>;
1255
+ device_manufacturer: z.ZodOptional<z.ZodString>;
1256
+ device_model: z.ZodOptional<z.ZodString>;
1257
+ carrier: z.ZodOptional<z.ZodString>;
1258
+ country: z.ZodOptional<z.ZodString>;
1259
+ region: z.ZodOptional<z.ZodString>;
1260
+ city: z.ZodOptional<z.ZodString>;
1261
+ language: z.ZodOptional<z.ZodString>;
1262
+ ip: z.ZodOptional<z.ZodString>;
1263
+ insert_id: z.ZodOptional<z.ZodString>;
1264
+ session_id: z.ZodOptional<z.ZodNumber>;
1265
+ }, "strip", z.ZodTypeAny, {
1266
+ event_type: string;
1267
+ user_id?: string | undefined;
1268
+ device_id?: string | undefined;
1269
+ time?: number | undefined;
1270
+ event_properties?: Record<string, unknown> | undefined;
1271
+ user_properties?: Record<string, unknown> | undefined;
1272
+ app_version?: string | undefined;
1273
+ platform?: string | undefined;
1274
+ os_name?: string | undefined;
1275
+ os_version?: string | undefined;
1276
+ device_brand?: string | undefined;
1277
+ device_manufacturer?: string | undefined;
1278
+ device_model?: string | undefined;
1279
+ carrier?: string | undefined;
1280
+ country?: string | undefined;
1281
+ region?: string | undefined;
1282
+ city?: string | undefined;
1283
+ language?: string | undefined;
1284
+ ip?: string | undefined;
1285
+ insert_id?: string | undefined;
1286
+ session_id?: number | undefined;
1287
+ }, {
1288
+ event_type: string;
1289
+ user_id?: string | undefined;
1290
+ device_id?: string | undefined;
1291
+ time?: number | undefined;
1292
+ event_properties?: Record<string, unknown> | undefined;
1293
+ user_properties?: Record<string, unknown> | undefined;
1294
+ app_version?: string | undefined;
1295
+ platform?: string | undefined;
1296
+ os_name?: string | undefined;
1297
+ os_version?: string | undefined;
1298
+ device_brand?: string | undefined;
1299
+ device_manufacturer?: string | undefined;
1300
+ device_model?: string | undefined;
1301
+ carrier?: string | undefined;
1302
+ country?: string | undefined;
1303
+ region?: string | undefined;
1304
+ city?: string | undefined;
1305
+ language?: string | undefined;
1306
+ ip?: string | undefined;
1307
+ insert_id?: string | undefined;
1308
+ session_id?: number | undefined;
1309
+ }>, "many">;
1310
+ options: z.ZodOptional<z.ZodObject<{
1311
+ min_id_length: z.ZodOptional<z.ZodNumber>;
1312
+ }, "strip", z.ZodTypeAny, {
1313
+ min_id_length?: number | undefined;
1314
+ }, {
1315
+ min_id_length?: number | undefined;
1316
+ }>>;
1317
+ }, "strip", z.ZodTypeAny, {
1318
+ api_key: string;
1319
+ events: {
1320
+ event_type: string;
1321
+ user_id?: string | undefined;
1322
+ device_id?: string | undefined;
1323
+ time?: number | undefined;
1324
+ event_properties?: Record<string, unknown> | undefined;
1325
+ user_properties?: Record<string, unknown> | undefined;
1326
+ app_version?: string | undefined;
1327
+ platform?: string | undefined;
1328
+ os_name?: string | undefined;
1329
+ os_version?: string | undefined;
1330
+ device_brand?: string | undefined;
1331
+ device_manufacturer?: string | undefined;
1332
+ device_model?: string | undefined;
1333
+ carrier?: string | undefined;
1334
+ country?: string | undefined;
1335
+ region?: string | undefined;
1336
+ city?: string | undefined;
1337
+ language?: string | undefined;
1338
+ ip?: string | undefined;
1339
+ insert_id?: string | undefined;
1340
+ session_id?: number | undefined;
1341
+ }[];
1342
+ options?: {
1343
+ min_id_length?: number | undefined;
1344
+ } | undefined;
1345
+ }, {
1346
+ api_key: string;
1347
+ events: {
1348
+ event_type: string;
1349
+ user_id?: string | undefined;
1350
+ device_id?: string | undefined;
1351
+ time?: number | undefined;
1352
+ event_properties?: Record<string, unknown> | undefined;
1353
+ user_properties?: Record<string, unknown> | undefined;
1354
+ app_version?: string | undefined;
1355
+ platform?: string | undefined;
1356
+ os_name?: string | undefined;
1357
+ os_version?: string | undefined;
1358
+ device_brand?: string | undefined;
1359
+ device_manufacturer?: string | undefined;
1360
+ device_model?: string | undefined;
1361
+ carrier?: string | undefined;
1362
+ country?: string | undefined;
1363
+ region?: string | undefined;
1364
+ city?: string | undefined;
1365
+ language?: string | undefined;
1366
+ ip?: string | undefined;
1367
+ insert_id?: string | undefined;
1368
+ session_id?: number | undefined;
1369
+ }[];
1370
+ options?: {
1371
+ min_id_length?: number | undefined;
1372
+ } | undefined;
1373
+ }>;
1374
+ readonly eventsUploadBatch: z.ZodObject<{
1375
+ api_key: z.ZodString;
1376
+ events: z.ZodArray<z.ZodObject<{
1377
+ event_type: z.ZodString;
1378
+ user_id: z.ZodOptional<z.ZodString>;
1379
+ device_id: z.ZodOptional<z.ZodString>;
1380
+ time: z.ZodOptional<z.ZodNumber>;
1381
+ event_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1382
+ user_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1383
+ app_version: z.ZodOptional<z.ZodString>;
1384
+ platform: z.ZodOptional<z.ZodString>;
1385
+ os_name: z.ZodOptional<z.ZodString>;
1386
+ os_version: z.ZodOptional<z.ZodString>;
1387
+ device_brand: z.ZodOptional<z.ZodString>;
1388
+ device_manufacturer: z.ZodOptional<z.ZodString>;
1389
+ device_model: z.ZodOptional<z.ZodString>;
1390
+ carrier: z.ZodOptional<z.ZodString>;
1391
+ country: z.ZodOptional<z.ZodString>;
1392
+ region: z.ZodOptional<z.ZodString>;
1393
+ city: z.ZodOptional<z.ZodString>;
1394
+ language: z.ZodOptional<z.ZodString>;
1395
+ ip: z.ZodOptional<z.ZodString>;
1396
+ insert_id: z.ZodOptional<z.ZodString>;
1397
+ session_id: z.ZodOptional<z.ZodNumber>;
1398
+ }, "strip", z.ZodTypeAny, {
1399
+ event_type: string;
1400
+ user_id?: string | undefined;
1401
+ device_id?: string | undefined;
1402
+ time?: number | undefined;
1403
+ event_properties?: Record<string, unknown> | undefined;
1404
+ user_properties?: Record<string, unknown> | undefined;
1405
+ app_version?: string | undefined;
1406
+ platform?: string | undefined;
1407
+ os_name?: string | undefined;
1408
+ os_version?: string | undefined;
1409
+ device_brand?: string | undefined;
1410
+ device_manufacturer?: string | undefined;
1411
+ device_model?: string | undefined;
1412
+ carrier?: string | undefined;
1413
+ country?: string | undefined;
1414
+ region?: string | undefined;
1415
+ city?: string | undefined;
1416
+ language?: string | undefined;
1417
+ ip?: string | undefined;
1418
+ insert_id?: string | undefined;
1419
+ session_id?: number | undefined;
1420
+ }, {
1421
+ event_type: string;
1422
+ user_id?: string | undefined;
1423
+ device_id?: string | undefined;
1424
+ time?: number | undefined;
1425
+ event_properties?: Record<string, unknown> | undefined;
1426
+ user_properties?: Record<string, unknown> | undefined;
1427
+ app_version?: string | undefined;
1428
+ platform?: string | undefined;
1429
+ os_name?: string | undefined;
1430
+ os_version?: string | undefined;
1431
+ device_brand?: string | undefined;
1432
+ device_manufacturer?: string | undefined;
1433
+ device_model?: string | undefined;
1434
+ carrier?: string | undefined;
1435
+ country?: string | undefined;
1436
+ region?: string | undefined;
1437
+ city?: string | undefined;
1438
+ language?: string | undefined;
1439
+ ip?: string | undefined;
1440
+ insert_id?: string | undefined;
1441
+ session_id?: number | undefined;
1442
+ }>, "many">;
1443
+ options: z.ZodOptional<z.ZodObject<{
1444
+ min_id_length: z.ZodOptional<z.ZodNumber>;
1445
+ }, "strip", z.ZodTypeAny, {
1446
+ min_id_length?: number | undefined;
1447
+ }, {
1448
+ min_id_length?: number | undefined;
1449
+ }>>;
1450
+ }, "strip", z.ZodTypeAny, {
1451
+ api_key: string;
1452
+ events: {
1453
+ event_type: string;
1454
+ user_id?: string | undefined;
1455
+ device_id?: string | undefined;
1456
+ time?: number | undefined;
1457
+ event_properties?: Record<string, unknown> | undefined;
1458
+ user_properties?: Record<string, unknown> | undefined;
1459
+ app_version?: string | undefined;
1460
+ platform?: string | undefined;
1461
+ os_name?: string | undefined;
1462
+ os_version?: string | undefined;
1463
+ device_brand?: string | undefined;
1464
+ device_manufacturer?: string | undefined;
1465
+ device_model?: string | undefined;
1466
+ carrier?: string | undefined;
1467
+ country?: string | undefined;
1468
+ region?: string | undefined;
1469
+ city?: string | undefined;
1470
+ language?: string | undefined;
1471
+ ip?: string | undefined;
1472
+ insert_id?: string | undefined;
1473
+ session_id?: number | undefined;
1474
+ }[];
1475
+ options?: {
1476
+ min_id_length?: number | undefined;
1477
+ } | undefined;
1478
+ }, {
1479
+ api_key: string;
1480
+ events: {
1481
+ event_type: string;
1482
+ user_id?: string | undefined;
1483
+ device_id?: string | undefined;
1484
+ time?: number | undefined;
1485
+ event_properties?: Record<string, unknown> | undefined;
1486
+ user_properties?: Record<string, unknown> | undefined;
1487
+ app_version?: string | undefined;
1488
+ platform?: string | undefined;
1489
+ os_name?: string | undefined;
1490
+ os_version?: string | undefined;
1491
+ device_brand?: string | undefined;
1492
+ device_manufacturer?: string | undefined;
1493
+ device_model?: string | undefined;
1494
+ carrier?: string | undefined;
1495
+ country?: string | undefined;
1496
+ region?: string | undefined;
1497
+ city?: string | undefined;
1498
+ language?: string | undefined;
1499
+ ip?: string | undefined;
1500
+ insert_id?: string | undefined;
1501
+ session_id?: number | undefined;
1502
+ }[];
1503
+ options?: {
1504
+ min_id_length?: number | undefined;
1505
+ } | undefined;
1506
+ }>;
1507
+ readonly eventsIdentifyUser: z.ZodObject<{
1508
+ api_key: z.ZodString;
1509
+ identification: z.ZodArray<z.ZodObject<{
1510
+ user_id: z.ZodOptional<z.ZodString>;
1511
+ device_id: z.ZodOptional<z.ZodString>;
1512
+ user_properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1513
+ }, "strip", z.ZodTypeAny, {
1514
+ user_properties: Record<string, unknown>;
1515
+ user_id?: string | undefined;
1516
+ device_id?: string | undefined;
1517
+ }, {
1518
+ user_properties: Record<string, unknown>;
1519
+ user_id?: string | undefined;
1520
+ device_id?: string | undefined;
1521
+ }>, "many">;
1522
+ }, "strip", z.ZodTypeAny, {
1523
+ api_key: string;
1524
+ identification: {
1525
+ user_properties: Record<string, unknown>;
1526
+ user_id?: string | undefined;
1527
+ device_id?: string | undefined;
1528
+ }[];
1529
+ }, {
1530
+ api_key: string;
1531
+ identification: {
1532
+ user_properties: Record<string, unknown>;
1533
+ user_id?: string | undefined;
1534
+ device_id?: string | undefined;
1535
+ }[];
1536
+ }>;
1537
+ readonly eventsGetList: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1538
+ readonly usersSearch: z.ZodObject<{
1539
+ user: z.ZodString;
1540
+ limit: z.ZodOptional<z.ZodNumber>;
1541
+ offset: z.ZodOptional<z.ZodNumber>;
1542
+ }, "strip", z.ZodTypeAny, {
1543
+ user: string;
1544
+ limit?: number | undefined;
1545
+ offset?: number | undefined;
1546
+ }, {
1547
+ user: string;
1548
+ limit?: number | undefined;
1549
+ offset?: number | undefined;
1550
+ }>;
1551
+ readonly usersGetProfile: z.ZodObject<{
1552
+ user_id: z.ZodOptional<z.ZodString>;
1553
+ amplitude_id: z.ZodOptional<z.ZodNumber>;
1554
+ }, "strip", z.ZodTypeAny, {
1555
+ user_id?: string | undefined;
1556
+ amplitude_id?: number | undefined;
1557
+ }, {
1558
+ user_id?: string | undefined;
1559
+ amplitude_id?: number | undefined;
1560
+ }>;
1561
+ readonly usersGetActivity: z.ZodObject<{
1562
+ user: z.ZodNumber;
1563
+ limit: z.ZodOptional<z.ZodNumber>;
1564
+ offset: z.ZodOptional<z.ZodNumber>;
1565
+ }, "strip", z.ZodTypeAny, {
1566
+ user: number;
1567
+ limit?: number | undefined;
1568
+ offset?: number | undefined;
1569
+ }, {
1570
+ user: number;
1571
+ limit?: number | undefined;
1572
+ offset?: number | undefined;
1573
+ }>;
1574
+ readonly cohortsList: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1575
+ readonly cohortsGet: z.ZodObject<{
1576
+ cohort_id: z.ZodString;
1577
+ }, "strip", z.ZodTypeAny, {
1578
+ cohort_id: string;
1579
+ }, {
1580
+ cohort_id: string;
1581
+ }>;
1582
+ readonly cohortsCreate: z.ZodObject<{
1583
+ name: z.ZodString;
1584
+ app_id: z.ZodNumber;
1585
+ id_type: z.ZodEnum<["BY_AMP_ID", "BY_USER_ID", "BY_DEVICE_ID"]>;
1586
+ ids: z.ZodArray<z.ZodString, "many">;
1587
+ owners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1588
+ description: z.ZodOptional<z.ZodString>;
1589
+ published: z.ZodOptional<z.ZodBoolean>;
1590
+ }, "strip", z.ZodTypeAny, {
1591
+ name: string;
1592
+ app_id: number;
1593
+ id_type: "BY_AMP_ID" | "BY_USER_ID" | "BY_DEVICE_ID";
1594
+ ids: string[];
1595
+ description?: string | undefined;
1596
+ owners?: string[] | undefined;
1597
+ published?: boolean | undefined;
1598
+ }, {
1599
+ name: string;
1600
+ app_id: number;
1601
+ id_type: "BY_AMP_ID" | "BY_USER_ID" | "BY_DEVICE_ID";
1602
+ ids: string[];
1603
+ description?: string | undefined;
1604
+ owners?: string[] | undefined;
1605
+ published?: boolean | undefined;
1606
+ }>;
1607
+ readonly cohortsGetMembers: z.ZodObject<{
1608
+ request_id: z.ZodString;
1609
+ }, "strip", z.ZodTypeAny, {
1610
+ request_id: string;
1611
+ }, {
1612
+ request_id: string;
1613
+ }>;
1614
+ readonly chartsGet: z.ZodObject<{
1615
+ chart_id: z.ZodString;
1616
+ }, "strip", z.ZodTypeAny, {
1617
+ chart_id: string;
1618
+ }, {
1619
+ chart_id: string;
1620
+ }>;
1621
+ readonly dashboardsList: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1622
+ readonly dashboardsGet: z.ZodObject<{
1623
+ dashboard_id: z.ZodNumber;
1624
+ }, "strip", z.ZodTypeAny, {
1625
+ dashboard_id: number;
1626
+ }, {
1627
+ dashboard_id: number;
1628
+ }>;
1629
+ readonly annotationsList: z.ZodObject<{
1630
+ app_id: z.ZodOptional<z.ZodNumber>;
1631
+ }, "strip", z.ZodTypeAny, {
1632
+ app_id?: number | undefined;
1633
+ }, {
1634
+ app_id?: number | undefined;
1635
+ }>;
1636
+ readonly annotationsCreate: z.ZodObject<{
1637
+ date: z.ZodString;
1638
+ label: z.ZodString;
1639
+ details: z.ZodOptional<z.ZodString>;
1640
+ app_id: z.ZodOptional<z.ZodNumber>;
1641
+ }, "strip", z.ZodTypeAny, {
1642
+ date: string;
1643
+ label: string;
1644
+ app_id?: number | undefined;
1645
+ details?: string | undefined;
1646
+ }, {
1647
+ date: string;
1648
+ label: string;
1649
+ app_id?: number | undefined;
1650
+ details?: string | undefined;
1651
+ }>;
1652
+ readonly exportsGetData: z.ZodObject<{
1653
+ start: z.ZodString;
1654
+ end: z.ZodString;
1655
+ }, "strip", z.ZodTypeAny, {
1656
+ start: string;
1657
+ end: string;
1658
+ }, {
1659
+ start: string;
1660
+ end: string;
1661
+ }>;
1662
+ };
1663
+ export declare const AmplitudeEndpointOutputSchemas: {
1664
+ readonly eventsUpload: z.ZodObject<{
1665
+ code: z.ZodNumber;
1666
+ events_ingested: z.ZodOptional<z.ZodNumber>;
1667
+ payload_size_bytes: z.ZodOptional<z.ZodNumber>;
1668
+ server_upload_time: z.ZodOptional<z.ZodNumber>;
1669
+ }, "strip", z.ZodTypeAny, {
1670
+ code: number;
1671
+ events_ingested?: number | undefined;
1672
+ payload_size_bytes?: number | undefined;
1673
+ server_upload_time?: number | undefined;
1674
+ }, {
1675
+ code: number;
1676
+ events_ingested?: number | undefined;
1677
+ payload_size_bytes?: number | undefined;
1678
+ server_upload_time?: number | undefined;
1679
+ }>;
1680
+ readonly eventsUploadBatch: z.ZodObject<{
1681
+ code: z.ZodNumber;
1682
+ events_ingested: z.ZodOptional<z.ZodNumber>;
1683
+ payload_size_bytes: z.ZodOptional<z.ZodNumber>;
1684
+ server_upload_time: z.ZodOptional<z.ZodNumber>;
1685
+ }, "strip", z.ZodTypeAny, {
1686
+ code: number;
1687
+ events_ingested?: number | undefined;
1688
+ payload_size_bytes?: number | undefined;
1689
+ server_upload_time?: number | undefined;
1690
+ }, {
1691
+ code: number;
1692
+ events_ingested?: number | undefined;
1693
+ payload_size_bytes?: number | undefined;
1694
+ server_upload_time?: number | undefined;
1695
+ }>;
1696
+ readonly eventsIdentifyUser: z.ZodObject<{
1697
+ code: z.ZodNumber;
1698
+ error: z.ZodOptional<z.ZodString>;
1699
+ }, "strip", z.ZodTypeAny, {
1700
+ code: number;
1701
+ error?: string | undefined;
1702
+ }, {
1703
+ code: number;
1704
+ error?: string | undefined;
1705
+ }>;
1706
+ readonly eventsGetList: z.ZodObject<{
1707
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
1708
+ event_type: z.ZodOptional<z.ZodString>;
1709
+ display_name: z.ZodOptional<z.ZodString>;
1710
+ totals: z.ZodOptional<z.ZodNumber>;
1711
+ totals_delta: z.ZodOptional<z.ZodNumber>;
1712
+ hidden: z.ZodOptional<z.ZodBoolean>;
1713
+ deleted: z.ZodOptional<z.ZodBoolean>;
1714
+ non_active: z.ZodOptional<z.ZodBoolean>;
1715
+ }, "strip", z.ZodTypeAny, {
1716
+ event_type?: string | undefined;
1717
+ display_name?: string | undefined;
1718
+ totals?: number | undefined;
1719
+ totals_delta?: number | undefined;
1720
+ hidden?: boolean | undefined;
1721
+ deleted?: boolean | undefined;
1722
+ non_active?: boolean | undefined;
1723
+ }, {
1724
+ event_type?: string | undefined;
1725
+ display_name?: string | undefined;
1726
+ totals?: number | undefined;
1727
+ totals_delta?: number | undefined;
1728
+ hidden?: boolean | undefined;
1729
+ deleted?: boolean | undefined;
1730
+ non_active?: boolean | undefined;
1731
+ }>, "many">>;
1732
+ }, "strip", z.ZodTypeAny, {
1733
+ data?: {
1734
+ event_type?: string | undefined;
1735
+ display_name?: string | undefined;
1736
+ totals?: number | undefined;
1737
+ totals_delta?: number | undefined;
1738
+ hidden?: boolean | undefined;
1739
+ deleted?: boolean | undefined;
1740
+ non_active?: boolean | undefined;
1741
+ }[] | undefined;
1742
+ }, {
1743
+ data?: {
1744
+ event_type?: string | undefined;
1745
+ display_name?: string | undefined;
1746
+ totals?: number | undefined;
1747
+ totals_delta?: number | undefined;
1748
+ hidden?: boolean | undefined;
1749
+ deleted?: boolean | undefined;
1750
+ non_active?: boolean | undefined;
1751
+ }[] | undefined;
1752
+ }>;
1753
+ readonly usersSearch: z.ZodObject<{
1754
+ matches: z.ZodOptional<z.ZodArray<z.ZodObject<{
1755
+ amplitude_id: z.ZodNumber;
1756
+ user_id: z.ZodOptional<z.ZodString>;
1757
+ last_seen: z.ZodOptional<z.ZodNumber>;
1758
+ is_identified: z.ZodOptional<z.ZodBoolean>;
1759
+ country: z.ZodOptional<z.ZodString>;
1760
+ city: z.ZodOptional<z.ZodString>;
1761
+ platform: z.ZodOptional<z.ZodString>;
1762
+ os: z.ZodOptional<z.ZodString>;
1763
+ device: z.ZodOptional<z.ZodString>;
1764
+ }, "strip", z.ZodTypeAny, {
1765
+ amplitude_id: number;
1766
+ user_id?: string | undefined;
1767
+ platform?: string | undefined;
1768
+ country?: string | undefined;
1769
+ city?: string | undefined;
1770
+ last_seen?: number | undefined;
1771
+ is_identified?: boolean | undefined;
1772
+ os?: string | undefined;
1773
+ device?: string | undefined;
1774
+ }, {
1775
+ amplitude_id: number;
1776
+ user_id?: string | undefined;
1777
+ platform?: string | undefined;
1778
+ country?: string | undefined;
1779
+ city?: string | undefined;
1780
+ last_seen?: number | undefined;
1781
+ is_identified?: boolean | undefined;
1782
+ os?: string | undefined;
1783
+ device?: string | undefined;
1784
+ }>, "many">>;
1785
+ next: z.ZodOptional<z.ZodString>;
1786
+ }, "strip", z.ZodTypeAny, {
1787
+ matches?: {
1788
+ amplitude_id: number;
1789
+ user_id?: string | undefined;
1790
+ platform?: string | undefined;
1791
+ country?: string | undefined;
1792
+ city?: string | undefined;
1793
+ last_seen?: number | undefined;
1794
+ is_identified?: boolean | undefined;
1795
+ os?: string | undefined;
1796
+ device?: string | undefined;
1797
+ }[] | undefined;
1798
+ next?: string | undefined;
1799
+ }, {
1800
+ matches?: {
1801
+ amplitude_id: number;
1802
+ user_id?: string | undefined;
1803
+ platform?: string | undefined;
1804
+ country?: string | undefined;
1805
+ city?: string | undefined;
1806
+ last_seen?: number | undefined;
1807
+ is_identified?: boolean | undefined;
1808
+ os?: string | undefined;
1809
+ device?: string | undefined;
1810
+ }[] | undefined;
1811
+ next?: string | undefined;
1812
+ }>;
1813
+ readonly usersGetProfile: z.ZodObject<{
1814
+ userData: z.ZodOptional<z.ZodObject<{
1815
+ user_id: z.ZodOptional<z.ZodString>;
1816
+ amplitude_id: z.ZodOptional<z.ZodNumber>;
1817
+ canonical_amplitude_id: z.ZodOptional<z.ZodNumber>;
1818
+ merged_amplitude_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1819
+ is_identified: z.ZodOptional<z.ZodBoolean>;
1820
+ user_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1821
+ country: z.ZodOptional<z.ZodString>;
1822
+ region: z.ZodOptional<z.ZodString>;
1823
+ city: z.ZodOptional<z.ZodString>;
1824
+ language: z.ZodOptional<z.ZodString>;
1825
+ platform: z.ZodOptional<z.ZodString>;
1826
+ os: z.ZodOptional<z.ZodString>;
1827
+ device: z.ZodOptional<z.ZodString>;
1828
+ last_seen: z.ZodOptional<z.ZodNumber>;
1829
+ }, "strip", z.ZodTypeAny, {
1830
+ user_id?: string | undefined;
1831
+ user_properties?: Record<string, unknown> | undefined;
1832
+ platform?: string | undefined;
1833
+ country?: string | undefined;
1834
+ region?: string | undefined;
1835
+ city?: string | undefined;
1836
+ language?: string | undefined;
1837
+ amplitude_id?: number | undefined;
1838
+ last_seen?: number | undefined;
1839
+ is_identified?: boolean | undefined;
1840
+ os?: string | undefined;
1841
+ device?: string | undefined;
1842
+ canonical_amplitude_id?: number | undefined;
1843
+ merged_amplitude_ids?: number[] | undefined;
1844
+ }, {
1845
+ user_id?: string | undefined;
1846
+ user_properties?: Record<string, unknown> | undefined;
1847
+ platform?: string | undefined;
1848
+ country?: string | undefined;
1849
+ region?: string | undefined;
1850
+ city?: string | undefined;
1851
+ language?: string | undefined;
1852
+ amplitude_id?: number | undefined;
1853
+ last_seen?: number | undefined;
1854
+ is_identified?: boolean | undefined;
1855
+ os?: string | undefined;
1856
+ device?: string | undefined;
1857
+ canonical_amplitude_id?: number | undefined;
1858
+ merged_amplitude_ids?: number[] | undefined;
1859
+ }>>;
1860
+ }, "strip", z.ZodTypeAny, {
1861
+ userData?: {
1862
+ user_id?: string | undefined;
1863
+ user_properties?: Record<string, unknown> | undefined;
1864
+ platform?: string | undefined;
1865
+ country?: string | undefined;
1866
+ region?: string | undefined;
1867
+ city?: string | undefined;
1868
+ language?: string | undefined;
1869
+ amplitude_id?: number | undefined;
1870
+ last_seen?: number | undefined;
1871
+ is_identified?: boolean | undefined;
1872
+ os?: string | undefined;
1873
+ device?: string | undefined;
1874
+ canonical_amplitude_id?: number | undefined;
1875
+ merged_amplitude_ids?: number[] | undefined;
1876
+ } | undefined;
1877
+ }, {
1878
+ userData?: {
1879
+ user_id?: string | undefined;
1880
+ user_properties?: Record<string, unknown> | undefined;
1881
+ platform?: string | undefined;
1882
+ country?: string | undefined;
1883
+ region?: string | undefined;
1884
+ city?: string | undefined;
1885
+ language?: string | undefined;
1886
+ amplitude_id?: number | undefined;
1887
+ last_seen?: number | undefined;
1888
+ is_identified?: boolean | undefined;
1889
+ os?: string | undefined;
1890
+ device?: string | undefined;
1891
+ canonical_amplitude_id?: number | undefined;
1892
+ merged_amplitude_ids?: number[] | undefined;
1893
+ } | undefined;
1894
+ }>;
1895
+ readonly usersGetActivity: z.ZodObject<{
1896
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
1897
+ event_type: z.ZodOptional<z.ZodString>;
1898
+ event_time: z.ZodOptional<z.ZodString>;
1899
+ event_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1900
+ session_id: z.ZodOptional<z.ZodNumber>;
1901
+ amplitude_id: z.ZodOptional<z.ZodNumber>;
1902
+ }, "strip", z.ZodTypeAny, {
1903
+ event_type?: string | undefined;
1904
+ event_properties?: Record<string, unknown> | undefined;
1905
+ session_id?: number | undefined;
1906
+ amplitude_id?: number | undefined;
1907
+ event_time?: string | undefined;
1908
+ }, {
1909
+ event_type?: string | undefined;
1910
+ event_properties?: Record<string, unknown> | undefined;
1911
+ session_id?: number | undefined;
1912
+ amplitude_id?: number | undefined;
1913
+ event_time?: string | undefined;
1914
+ }>, "many">>;
1915
+ userData: z.ZodOptional<z.ZodObject<{
1916
+ num_events: z.ZodOptional<z.ZodNumber>;
1917
+ num_sessions: z.ZodOptional<z.ZodNumber>;
1918
+ first_used: z.ZodOptional<z.ZodString>;
1919
+ last_used: z.ZodOptional<z.ZodString>;
1920
+ canonical_amplitude_id: z.ZodOptional<z.ZodNumber>;
1921
+ }, "strip", z.ZodTypeAny, {
1922
+ canonical_amplitude_id?: number | undefined;
1923
+ num_events?: number | undefined;
1924
+ num_sessions?: number | undefined;
1925
+ first_used?: string | undefined;
1926
+ last_used?: string | undefined;
1927
+ }, {
1928
+ canonical_amplitude_id?: number | undefined;
1929
+ num_events?: number | undefined;
1930
+ num_sessions?: number | undefined;
1931
+ first_used?: string | undefined;
1932
+ last_used?: string | undefined;
1933
+ }>>;
1934
+ }, "strip", z.ZodTypeAny, {
1935
+ events?: {
1936
+ event_type?: string | undefined;
1937
+ event_properties?: Record<string, unknown> | undefined;
1938
+ session_id?: number | undefined;
1939
+ amplitude_id?: number | undefined;
1940
+ event_time?: string | undefined;
1941
+ }[] | undefined;
1942
+ userData?: {
1943
+ canonical_amplitude_id?: number | undefined;
1944
+ num_events?: number | undefined;
1945
+ num_sessions?: number | undefined;
1946
+ first_used?: string | undefined;
1947
+ last_used?: string | undefined;
1948
+ } | undefined;
1949
+ }, {
1950
+ events?: {
1951
+ event_type?: string | undefined;
1952
+ event_properties?: Record<string, unknown> | undefined;
1953
+ session_id?: number | undefined;
1954
+ amplitude_id?: number | undefined;
1955
+ event_time?: string | undefined;
1956
+ }[] | undefined;
1957
+ userData?: {
1958
+ canonical_amplitude_id?: number | undefined;
1959
+ num_events?: number | undefined;
1960
+ num_sessions?: number | undefined;
1961
+ first_used?: string | undefined;
1962
+ last_used?: string | undefined;
1963
+ } | undefined;
1964
+ }>;
1965
+ readonly cohortsList: z.ZodObject<{
1966
+ cohorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1967
+ id: z.ZodString;
1968
+ name: z.ZodString;
1969
+ owners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1970
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1971
+ published: z.ZodOptional<z.ZodBoolean>;
1972
+ archived: z.ZodOptional<z.ZodBoolean>;
1973
+ app_id: z.ZodOptional<z.ZodNumber>;
1974
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1975
+ last_computed: z.ZodOptional<z.ZodNumber>;
1976
+ last_modified: z.ZodOptional<z.ZodNumber>;
1977
+ is_predefined: z.ZodOptional<z.ZodBoolean>;
1978
+ type: z.ZodOptional<z.ZodString>;
1979
+ }, "strip", z.ZodTypeAny, {
1980
+ id: string;
1981
+ name: string;
1982
+ type?: string | undefined;
1983
+ description?: string | null | undefined;
1984
+ owners?: string[] | undefined;
1985
+ published?: boolean | undefined;
1986
+ archived?: boolean | undefined;
1987
+ app_id?: number | undefined;
1988
+ size?: number | null | undefined;
1989
+ last_computed?: number | undefined;
1990
+ last_modified?: number | undefined;
1991
+ is_predefined?: boolean | undefined;
1992
+ }, {
1993
+ id: string;
1994
+ name: string;
1995
+ type?: string | undefined;
1996
+ description?: string | null | undefined;
1997
+ owners?: string[] | undefined;
1998
+ published?: boolean | undefined;
1999
+ archived?: boolean | undefined;
2000
+ app_id?: number | undefined;
2001
+ size?: number | null | undefined;
2002
+ last_computed?: number | undefined;
2003
+ last_modified?: number | undefined;
2004
+ is_predefined?: boolean | undefined;
2005
+ }>, "many">>;
2006
+ }, "strip", z.ZodTypeAny, {
2007
+ cohorts?: {
2008
+ id: string;
2009
+ name: string;
2010
+ type?: string | undefined;
2011
+ description?: string | null | undefined;
2012
+ owners?: string[] | undefined;
2013
+ published?: boolean | undefined;
2014
+ archived?: boolean | undefined;
2015
+ app_id?: number | undefined;
2016
+ size?: number | null | undefined;
2017
+ last_computed?: number | undefined;
2018
+ last_modified?: number | undefined;
2019
+ is_predefined?: boolean | undefined;
2020
+ }[] | undefined;
2021
+ }, {
2022
+ cohorts?: {
2023
+ id: string;
2024
+ name: string;
2025
+ type?: string | undefined;
2026
+ description?: string | null | undefined;
2027
+ owners?: string[] | undefined;
2028
+ published?: boolean | undefined;
2029
+ archived?: boolean | undefined;
2030
+ app_id?: number | undefined;
2031
+ size?: number | null | undefined;
2032
+ last_computed?: number | undefined;
2033
+ last_modified?: number | undefined;
2034
+ is_predefined?: boolean | undefined;
2035
+ }[] | undefined;
2036
+ }>;
2037
+ readonly cohortsGet: z.ZodObject<{
2038
+ cohort: z.ZodOptional<z.ZodObject<{
2039
+ id: z.ZodString;
2040
+ name: z.ZodString;
2041
+ owners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2042
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2043
+ published: z.ZodOptional<z.ZodBoolean>;
2044
+ archived: z.ZodOptional<z.ZodBoolean>;
2045
+ app_id: z.ZodOptional<z.ZodNumber>;
2046
+ size: z.ZodOptional<z.ZodNumber>;
2047
+ last_computed: z.ZodOptional<z.ZodNumber>;
2048
+ last_modified: z.ZodOptional<z.ZodNumber>;
2049
+ is_predefined: z.ZodOptional<z.ZodBoolean>;
2050
+ type: z.ZodOptional<z.ZodString>;
2051
+ }, "strip", z.ZodTypeAny, {
2052
+ id: string;
2053
+ name: string;
2054
+ type?: string | undefined;
2055
+ description?: string | null | undefined;
2056
+ owners?: string[] | undefined;
2057
+ published?: boolean | undefined;
2058
+ archived?: boolean | undefined;
2059
+ app_id?: number | undefined;
2060
+ size?: number | undefined;
2061
+ last_computed?: number | undefined;
2062
+ last_modified?: number | undefined;
2063
+ is_predefined?: boolean | undefined;
2064
+ }, {
2065
+ id: string;
2066
+ name: string;
2067
+ type?: string | undefined;
2068
+ description?: string | null | undefined;
2069
+ owners?: string[] | undefined;
2070
+ published?: boolean | undefined;
2071
+ archived?: boolean | undefined;
2072
+ app_id?: number | undefined;
2073
+ size?: number | undefined;
2074
+ last_computed?: number | undefined;
2075
+ last_modified?: number | undefined;
2076
+ is_predefined?: boolean | undefined;
2077
+ }>>;
2078
+ }, "strip", z.ZodTypeAny, {
2079
+ cohort?: {
2080
+ id: string;
2081
+ name: string;
2082
+ type?: string | undefined;
2083
+ description?: string | null | undefined;
2084
+ owners?: string[] | undefined;
2085
+ published?: boolean | undefined;
2086
+ archived?: boolean | undefined;
2087
+ app_id?: number | undefined;
2088
+ size?: number | undefined;
2089
+ last_computed?: number | undefined;
2090
+ last_modified?: number | undefined;
2091
+ is_predefined?: boolean | undefined;
2092
+ } | undefined;
2093
+ }, {
2094
+ cohort?: {
2095
+ id: string;
2096
+ name: string;
2097
+ type?: string | undefined;
2098
+ description?: string | null | undefined;
2099
+ owners?: string[] | undefined;
2100
+ published?: boolean | undefined;
2101
+ archived?: boolean | undefined;
2102
+ app_id?: number | undefined;
2103
+ size?: number | undefined;
2104
+ last_computed?: number | undefined;
2105
+ last_modified?: number | undefined;
2106
+ is_predefined?: boolean | undefined;
2107
+ } | undefined;
2108
+ }>;
2109
+ readonly cohortsCreate: z.ZodObject<{
2110
+ cohort: z.ZodOptional<z.ZodObject<{
2111
+ id: z.ZodString;
2112
+ name: z.ZodString;
2113
+ size: z.ZodOptional<z.ZodNumber>;
2114
+ last_computed: z.ZodOptional<z.ZodNumber>;
2115
+ }, "strip", z.ZodTypeAny, {
2116
+ id: string;
2117
+ name: string;
2118
+ size?: number | undefined;
2119
+ last_computed?: number | undefined;
2120
+ }, {
2121
+ id: string;
2122
+ name: string;
2123
+ size?: number | undefined;
2124
+ last_computed?: number | undefined;
2125
+ }>>;
2126
+ }, "strip", z.ZodTypeAny, {
2127
+ cohort?: {
2128
+ id: string;
2129
+ name: string;
2130
+ size?: number | undefined;
2131
+ last_computed?: number | undefined;
2132
+ } | undefined;
2133
+ }, {
2134
+ cohort?: {
2135
+ id: string;
2136
+ name: string;
2137
+ size?: number | undefined;
2138
+ last_computed?: number | undefined;
2139
+ } | undefined;
2140
+ }>;
2141
+ readonly cohortsGetMembers: z.ZodObject<{
2142
+ status: z.ZodOptional<z.ZodString>;
2143
+ zip_url: z.ZodOptional<z.ZodString>;
2144
+ }, "strip", z.ZodTypeAny, {
2145
+ status?: string | undefined;
2146
+ zip_url?: string | undefined;
2147
+ }, {
2148
+ status?: string | undefined;
2149
+ zip_url?: string | undefined;
2150
+ }>;
2151
+ readonly chartsGet: z.ZodObject<{
2152
+ data: z.ZodOptional<z.ZodObject<{
2153
+ series: z.ZodOptional<z.ZodArray<z.ZodObject<{
2154
+ type: z.ZodOptional<z.ZodString>;
2155
+ values: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
2156
+ }, "strip", z.ZodTypeAny, {
2157
+ values?: unknown[] | undefined;
2158
+ type?: string | undefined;
2159
+ }, {
2160
+ values?: unknown[] | undefined;
2161
+ type?: string | undefined;
2162
+ }>, "many">>;
2163
+ xValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2164
+ }, "strip", z.ZodTypeAny, {
2165
+ series?: {
2166
+ values?: unknown[] | undefined;
2167
+ type?: string | undefined;
2168
+ }[] | undefined;
2169
+ xValues?: string[] | undefined;
2170
+ }, {
2171
+ series?: {
2172
+ values?: unknown[] | undefined;
2173
+ type?: string | undefined;
2174
+ }[] | undefined;
2175
+ xValues?: string[] | undefined;
2176
+ }>>;
2177
+ seriesLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2178
+ title: z.ZodOptional<z.ZodString>;
2179
+ }, "strip", z.ZodTypeAny, {
2180
+ data?: {
2181
+ series?: {
2182
+ values?: unknown[] | undefined;
2183
+ type?: string | undefined;
2184
+ }[] | undefined;
2185
+ xValues?: string[] | undefined;
2186
+ } | undefined;
2187
+ seriesLabels?: string[] | undefined;
2188
+ title?: string | undefined;
2189
+ }, {
2190
+ data?: {
2191
+ series?: {
2192
+ values?: unknown[] | undefined;
2193
+ type?: string | undefined;
2194
+ }[] | undefined;
2195
+ xValues?: string[] | undefined;
2196
+ } | undefined;
2197
+ seriesLabels?: string[] | undefined;
2198
+ title?: string | undefined;
2199
+ }>;
2200
+ readonly dashboardsList: z.ZodObject<{
2201
+ dashboards: z.ZodOptional<z.ZodArray<z.ZodObject<{
2202
+ id: z.ZodNumber;
2203
+ name: z.ZodString;
2204
+ description: z.ZodOptional<z.ZodString>;
2205
+ created: z.ZodOptional<z.ZodString>;
2206
+ lastUpdated: z.ZodOptional<z.ZodString>;
2207
+ createdBy: z.ZodOptional<z.ZodString>;
2208
+ published: z.ZodOptional<z.ZodBoolean>;
2209
+ }, "strip", z.ZodTypeAny, {
2210
+ id: number;
2211
+ name: string;
2212
+ description?: string | undefined;
2213
+ published?: boolean | undefined;
2214
+ created?: string | undefined;
2215
+ lastUpdated?: string | undefined;
2216
+ createdBy?: string | undefined;
2217
+ }, {
2218
+ id: number;
2219
+ name: string;
2220
+ description?: string | undefined;
2221
+ published?: boolean | undefined;
2222
+ created?: string | undefined;
2223
+ lastUpdated?: string | undefined;
2224
+ createdBy?: string | undefined;
2225
+ }>, "many">>;
2226
+ }, "strip", z.ZodTypeAny, {
2227
+ dashboards?: {
2228
+ id: number;
2229
+ name: string;
2230
+ description?: string | undefined;
2231
+ published?: boolean | undefined;
2232
+ created?: string | undefined;
2233
+ lastUpdated?: string | undefined;
2234
+ createdBy?: string | undefined;
2235
+ }[] | undefined;
2236
+ }, {
2237
+ dashboards?: {
2238
+ id: number;
2239
+ name: string;
2240
+ description?: string | undefined;
2241
+ published?: boolean | undefined;
2242
+ created?: string | undefined;
2243
+ lastUpdated?: string | undefined;
2244
+ createdBy?: string | undefined;
2245
+ }[] | undefined;
2246
+ }>;
2247
+ readonly dashboardsGet: z.ZodObject<{
2248
+ dashboard: z.ZodOptional<z.ZodObject<{
2249
+ id: z.ZodNumber;
2250
+ name: z.ZodString;
2251
+ description: z.ZodOptional<z.ZodString>;
2252
+ created: z.ZodOptional<z.ZodString>;
2253
+ lastUpdated: z.ZodOptional<z.ZodString>;
2254
+ createdBy: z.ZodOptional<z.ZodString>;
2255
+ published: z.ZodOptional<z.ZodBoolean>;
2256
+ charts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2257
+ id: z.ZodString;
2258
+ name: z.ZodOptional<z.ZodString>;
2259
+ }, "strip", z.ZodTypeAny, {
2260
+ id: string;
2261
+ name?: string | undefined;
2262
+ }, {
2263
+ id: string;
2264
+ name?: string | undefined;
2265
+ }>, "many">>;
2266
+ }, "strip", z.ZodTypeAny, {
2267
+ id: number;
2268
+ name: string;
2269
+ description?: string | undefined;
2270
+ published?: boolean | undefined;
2271
+ created?: string | undefined;
2272
+ lastUpdated?: string | undefined;
2273
+ createdBy?: string | undefined;
2274
+ charts?: {
2275
+ id: string;
2276
+ name?: string | undefined;
2277
+ }[] | undefined;
2278
+ }, {
2279
+ id: number;
2280
+ name: string;
2281
+ description?: string | undefined;
2282
+ published?: boolean | undefined;
2283
+ created?: string | undefined;
2284
+ lastUpdated?: string | undefined;
2285
+ createdBy?: string | undefined;
2286
+ charts?: {
2287
+ id: string;
2288
+ name?: string | undefined;
2289
+ }[] | undefined;
2290
+ }>>;
2291
+ }, "strip", z.ZodTypeAny, {
2292
+ dashboard?: {
2293
+ id: number;
2294
+ name: string;
2295
+ description?: string | undefined;
2296
+ published?: boolean | undefined;
2297
+ created?: string | undefined;
2298
+ lastUpdated?: string | undefined;
2299
+ createdBy?: string | undefined;
2300
+ charts?: {
2301
+ id: string;
2302
+ name?: string | undefined;
2303
+ }[] | undefined;
2304
+ } | undefined;
2305
+ }, {
2306
+ dashboard?: {
2307
+ id: number;
2308
+ name: string;
2309
+ description?: string | undefined;
2310
+ published?: boolean | undefined;
2311
+ created?: string | undefined;
2312
+ lastUpdated?: string | undefined;
2313
+ createdBy?: string | undefined;
2314
+ charts?: {
2315
+ id: string;
2316
+ name?: string | undefined;
2317
+ }[] | undefined;
2318
+ } | undefined;
2319
+ }>;
2320
+ readonly annotationsList: z.ZodObject<{
2321
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
2322
+ id: z.ZodNumber;
2323
+ date: z.ZodString;
2324
+ label: z.ZodString;
2325
+ details: z.ZodOptional<z.ZodString>;
2326
+ app_id: z.ZodOptional<z.ZodNumber>;
2327
+ source: z.ZodOptional<z.ZodString>;
2328
+ }, "strip", z.ZodTypeAny, {
2329
+ date: string;
2330
+ id: number;
2331
+ label: string;
2332
+ app_id?: number | undefined;
2333
+ details?: string | undefined;
2334
+ source?: string | undefined;
2335
+ }, {
2336
+ date: string;
2337
+ id: number;
2338
+ label: string;
2339
+ app_id?: number | undefined;
2340
+ details?: string | undefined;
2341
+ source?: string | undefined;
2342
+ }>, "many">>;
2343
+ }, "strip", z.ZodTypeAny, {
2344
+ data?: {
2345
+ date: string;
2346
+ id: number;
2347
+ label: string;
2348
+ app_id?: number | undefined;
2349
+ details?: string | undefined;
2350
+ source?: string | undefined;
2351
+ }[] | undefined;
2352
+ }, {
2353
+ data?: {
2354
+ date: string;
2355
+ id: number;
2356
+ label: string;
2357
+ app_id?: number | undefined;
2358
+ details?: string | undefined;
2359
+ source?: string | undefined;
2360
+ }[] | undefined;
2361
+ }>;
2362
+ readonly annotationsCreate: z.ZodObject<{
2363
+ data: z.ZodOptional<z.ZodObject<{
2364
+ id: z.ZodNumber;
2365
+ date: z.ZodString;
2366
+ label: z.ZodString;
2367
+ details: z.ZodOptional<z.ZodString>;
2368
+ app_id: z.ZodOptional<z.ZodNumber>;
2369
+ }, "strip", z.ZodTypeAny, {
2370
+ date: string;
2371
+ id: number;
2372
+ label: string;
2373
+ app_id?: number | undefined;
2374
+ details?: string | undefined;
2375
+ }, {
2376
+ date: string;
2377
+ id: number;
2378
+ label: string;
2379
+ app_id?: number | undefined;
2380
+ details?: string | undefined;
2381
+ }>>;
2382
+ }, "strip", z.ZodTypeAny, {
2383
+ data?: {
2384
+ date: string;
2385
+ id: number;
2386
+ label: string;
2387
+ app_id?: number | undefined;
2388
+ details?: string | undefined;
2389
+ } | undefined;
2390
+ }, {
2391
+ data?: {
2392
+ date: string;
2393
+ id: number;
2394
+ label: string;
2395
+ app_id?: number | undefined;
2396
+ details?: string | undefined;
2397
+ } | undefined;
2398
+ }>;
2399
+ readonly exportsGetData: z.ZodObject<{
2400
+ status: z.ZodOptional<z.ZodString>;
2401
+ url: z.ZodOptional<z.ZodString>;
2402
+ }, "strip", z.ZodTypeAny, {
2403
+ status?: string | undefined;
2404
+ url?: string | undefined;
2405
+ }, {
2406
+ status?: string | undefined;
2407
+ url?: string | undefined;
2408
+ }>;
2409
+ };
2410
+ export {};
2411
+ //# sourceMappingURL=types.d.ts.map