@50heads/mcp 2026.1009.1 → 2026.1013.2

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.
@@ -40,6 +40,11 @@ export declare const AudienceInput: z.ZodObject<{
40
40
  id: z.ZodString;
41
41
  min_grade: z.ZodOptional<z.ZodNumber>;
42
42
  }, z.core.$strip>;
43
+ /** A go line on a yes-or-no question (structured.ts): set at ask time, fixed once live. */
44
+ export declare const GoRuleInput: z.ZodObject<{
45
+ go_above: z.ZodNumber;
46
+ min_answers: z.ZodOptional<z.ZodNumber>;
47
+ }, z.core.$strip>;
43
48
  export declare const QuestionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
44
49
  options: z.ZodArray<z.ZodObject<{
45
50
  label: z.ZodString;
@@ -51,6 +56,7 @@ export declare const QuestionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
51
56
  optional: "optional";
52
57
  required: "required";
53
58
  }>>;
59
+ go_rule: z.ZodOptional<z.ZodNever>;
54
60
  text: z.ZodString;
55
61
  content_flag: z.ZodOptional<z.ZodEnum<{
56
62
  medical: "medical";
@@ -110,6 +116,7 @@ export declare const QuestionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
110
116
  optional: "optional";
111
117
  required: "required";
112
118
  }>>;
119
+ go_rule: z.ZodOptional<z.ZodNever>;
113
120
  text: z.ZodString;
114
121
  content_flag: z.ZodOptional<z.ZodEnum<{
115
122
  medical: "medical";
@@ -170,6 +177,7 @@ export declare const QuestionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
170
177
  optional: "optional";
171
178
  required: "required";
172
179
  }>>;
180
+ go_rule: z.ZodOptional<z.ZodNever>;
173
181
  text: z.ZodString;
174
182
  content_flag: z.ZodOptional<z.ZodEnum<{
175
183
  medical: "medical";
@@ -230,6 +238,7 @@ export declare const QuestionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
230
238
  optional: "optional";
231
239
  required: "required";
232
240
  }>>;
241
+ go_rule: z.ZodOptional<z.ZodNever>;
233
242
  text: z.ZodString;
234
243
  content_flag: z.ZodOptional<z.ZodEnum<{
235
244
  medical: "medical";
@@ -285,6 +294,7 @@ export declare const QuestionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
285
294
  optional: "optional";
286
295
  required: "required";
287
296
  }>>;
297
+ go_rule: z.ZodOptional<z.ZodNever>;
288
298
  text: z.ZodString;
289
299
  content_flag: z.ZodOptional<z.ZodEnum<{
290
300
  medical: "medical";
@@ -344,6 +354,7 @@ export declare const QuestionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
344
354
  optional: "optional";
345
355
  required: "required";
346
356
  }>>;
357
+ go_rule: z.ZodOptional<z.ZodNever>;
347
358
  text: z.ZodString;
348
359
  content_flag: z.ZodOptional<z.ZodEnum<{
349
360
  medical: "medical";
@@ -399,6 +410,10 @@ export declare const QuestionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
399
410
  optional: "optional";
400
411
  required: "required";
401
412
  }>>;
413
+ go_rule: z.ZodOptional<z.ZodObject<{
414
+ go_above: z.ZodNumber;
415
+ min_answers: z.ZodOptional<z.ZodNumber>;
416
+ }, z.core.$strip>>;
402
417
  text: z.ZodString;
403
418
  content_flag: z.ZodOptional<z.ZodEnum<{
404
419
  medical: "medical";
@@ -454,6 +469,10 @@ export declare const QuestionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
454
469
  optional: "optional";
455
470
  required: "required";
456
471
  }>>;
472
+ go_rule: z.ZodOptional<z.ZodObject<{
473
+ go_above: z.ZodNumber;
474
+ min_answers: z.ZodOptional<z.ZodNumber>;
475
+ }, z.core.$strip>>;
457
476
  text: z.ZodString;
458
477
  content_flag: z.ZodOptional<z.ZodEnum<{
459
478
  medical: "medical";
@@ -505,6 +524,7 @@ export declare const QuestionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
505
524
  type: z.ZodLiteral<"yes_mostly_no">;
506
525
  }, z.core.$strip>, z.ZodObject<{
507
526
  tier: z.ZodOptional<z.ZodNumber>;
527
+ go_rule: z.ZodOptional<z.ZodNever>;
508
528
  text: z.ZodString;
509
529
  content_flag: z.ZodOptional<z.ZodEnum<{
510
530
  medical: "medical";
@@ -559,6 +579,7 @@ export declare const QuestionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
559
579
  text: z.ZodOptional<z.ZodString>;
560
580
  }, z.core.$strip>;
561
581
  max_taps: z.ZodOptional<z.ZodNumber>;
582
+ go_rule: z.ZodOptional<z.ZodNever>;
562
583
  text: z.ZodString;
563
584
  content_flag: z.ZodOptional<z.ZodEnum<{
564
585
  medical: "medical";
@@ -604,6 +625,7 @@ export declare const QuestionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
604
625
  }, z.core.$strip>>;
605
626
  type: z.ZodLiteral<"click_test">;
606
627
  }, z.core.$strip>, z.ZodObject<{
628
+ go_rule: z.ZodOptional<z.ZodNever>;
607
629
  text: z.ZodString;
608
630
  content_flag: z.ZodOptional<z.ZodEnum<{
609
631
  medical: "medical";
@@ -665,9 +687,9 @@ export declare const FollowUpInput: z.ZodObject<{
665
687
  ranking: "ranking";
666
688
  yes_no: "yes_no";
667
689
  yes_mostly_no: "yes_mostly_no";
690
+ free_text: "free_text";
668
691
  click_test: "click_test";
669
692
  reaction: "reaction";
670
- free_text: "free_text";
671
693
  }>>;
672
694
  text: z.ZodString;
673
695
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -708,6 +730,7 @@ export declare const EstimateInput: z.ZodObject<{
708
730
  optional: "optional";
709
731
  required: "required";
710
732
  }>>;
733
+ go_rule: z.ZodOptional<z.ZodNever>;
711
734
  text: z.ZodString;
712
735
  content_flag: z.ZodOptional<z.ZodEnum<{
713
736
  medical: "medical";
@@ -767,6 +790,7 @@ export declare const EstimateInput: z.ZodObject<{
767
790
  optional: "optional";
768
791
  required: "required";
769
792
  }>>;
793
+ go_rule: z.ZodOptional<z.ZodNever>;
770
794
  text: z.ZodString;
771
795
  content_flag: z.ZodOptional<z.ZodEnum<{
772
796
  medical: "medical";
@@ -827,6 +851,7 @@ export declare const EstimateInput: z.ZodObject<{
827
851
  optional: "optional";
828
852
  required: "required";
829
853
  }>>;
854
+ go_rule: z.ZodOptional<z.ZodNever>;
830
855
  text: z.ZodString;
831
856
  content_flag: z.ZodOptional<z.ZodEnum<{
832
857
  medical: "medical";
@@ -887,6 +912,7 @@ export declare const EstimateInput: z.ZodObject<{
887
912
  optional: "optional";
888
913
  required: "required";
889
914
  }>>;
915
+ go_rule: z.ZodOptional<z.ZodNever>;
890
916
  text: z.ZodString;
891
917
  content_flag: z.ZodOptional<z.ZodEnum<{
892
918
  medical: "medical";
@@ -942,6 +968,7 @@ export declare const EstimateInput: z.ZodObject<{
942
968
  optional: "optional";
943
969
  required: "required";
944
970
  }>>;
971
+ go_rule: z.ZodOptional<z.ZodNever>;
945
972
  text: z.ZodString;
946
973
  content_flag: z.ZodOptional<z.ZodEnum<{
947
974
  medical: "medical";
@@ -1001,6 +1028,7 @@ export declare const EstimateInput: z.ZodObject<{
1001
1028
  optional: "optional";
1002
1029
  required: "required";
1003
1030
  }>>;
1031
+ go_rule: z.ZodOptional<z.ZodNever>;
1004
1032
  text: z.ZodString;
1005
1033
  content_flag: z.ZodOptional<z.ZodEnum<{
1006
1034
  medical: "medical";
@@ -1056,6 +1084,10 @@ export declare const EstimateInput: z.ZodObject<{
1056
1084
  optional: "optional";
1057
1085
  required: "required";
1058
1086
  }>>;
1087
+ go_rule: z.ZodOptional<z.ZodObject<{
1088
+ go_above: z.ZodNumber;
1089
+ min_answers: z.ZodOptional<z.ZodNumber>;
1090
+ }, z.core.$strip>>;
1059
1091
  text: z.ZodString;
1060
1092
  content_flag: z.ZodOptional<z.ZodEnum<{
1061
1093
  medical: "medical";
@@ -1111,6 +1143,10 @@ export declare const EstimateInput: z.ZodObject<{
1111
1143
  optional: "optional";
1112
1144
  required: "required";
1113
1145
  }>>;
1146
+ go_rule: z.ZodOptional<z.ZodObject<{
1147
+ go_above: z.ZodNumber;
1148
+ min_answers: z.ZodOptional<z.ZodNumber>;
1149
+ }, z.core.$strip>>;
1114
1150
  text: z.ZodString;
1115
1151
  content_flag: z.ZodOptional<z.ZodEnum<{
1116
1152
  medical: "medical";
@@ -1162,6 +1198,7 @@ export declare const EstimateInput: z.ZodObject<{
1162
1198
  type: z.ZodLiteral<"yes_mostly_no">;
1163
1199
  }, z.core.$strip>, z.ZodObject<{
1164
1200
  tier: z.ZodOptional<z.ZodNumber>;
1201
+ go_rule: z.ZodOptional<z.ZodNever>;
1165
1202
  text: z.ZodString;
1166
1203
  content_flag: z.ZodOptional<z.ZodEnum<{
1167
1204
  medical: "medical";
@@ -1216,6 +1253,7 @@ export declare const EstimateInput: z.ZodObject<{
1216
1253
  text: z.ZodOptional<z.ZodString>;
1217
1254
  }, z.core.$strip>;
1218
1255
  max_taps: z.ZodOptional<z.ZodNumber>;
1256
+ go_rule: z.ZodOptional<z.ZodNever>;
1219
1257
  text: z.ZodString;
1220
1258
  content_flag: z.ZodOptional<z.ZodEnum<{
1221
1259
  medical: "medical";
@@ -1261,6 +1299,7 @@ export declare const EstimateInput: z.ZodObject<{
1261
1299
  }, z.core.$strip>>;
1262
1300
  type: z.ZodLiteral<"click_test">;
1263
1301
  }, z.core.$strip>, z.ZodObject<{
1302
+ go_rule: z.ZodOptional<z.ZodNever>;
1264
1303
  text: z.ZodString;
1265
1304
  content_flag: z.ZodOptional<z.ZodEnum<{
1266
1305
  medical: "medical";
@@ -1330,6 +1369,7 @@ export declare const AskInput: z.ZodObject<{
1330
1369
  optional: "optional";
1331
1370
  required: "required";
1332
1371
  }>>;
1372
+ go_rule: z.ZodOptional<z.ZodNever>;
1333
1373
  text: z.ZodString;
1334
1374
  content_flag: z.ZodOptional<z.ZodEnum<{
1335
1375
  medical: "medical";
@@ -1389,6 +1429,7 @@ export declare const AskInput: z.ZodObject<{
1389
1429
  optional: "optional";
1390
1430
  required: "required";
1391
1431
  }>>;
1432
+ go_rule: z.ZodOptional<z.ZodNever>;
1392
1433
  text: z.ZodString;
1393
1434
  content_flag: z.ZodOptional<z.ZodEnum<{
1394
1435
  medical: "medical";
@@ -1449,6 +1490,7 @@ export declare const AskInput: z.ZodObject<{
1449
1490
  optional: "optional";
1450
1491
  required: "required";
1451
1492
  }>>;
1493
+ go_rule: z.ZodOptional<z.ZodNever>;
1452
1494
  text: z.ZodString;
1453
1495
  content_flag: z.ZodOptional<z.ZodEnum<{
1454
1496
  medical: "medical";
@@ -1509,6 +1551,7 @@ export declare const AskInput: z.ZodObject<{
1509
1551
  optional: "optional";
1510
1552
  required: "required";
1511
1553
  }>>;
1554
+ go_rule: z.ZodOptional<z.ZodNever>;
1512
1555
  text: z.ZodString;
1513
1556
  content_flag: z.ZodOptional<z.ZodEnum<{
1514
1557
  medical: "medical";
@@ -1564,6 +1607,7 @@ export declare const AskInput: z.ZodObject<{
1564
1607
  optional: "optional";
1565
1608
  required: "required";
1566
1609
  }>>;
1610
+ go_rule: z.ZodOptional<z.ZodNever>;
1567
1611
  text: z.ZodString;
1568
1612
  content_flag: z.ZodOptional<z.ZodEnum<{
1569
1613
  medical: "medical";
@@ -1623,6 +1667,7 @@ export declare const AskInput: z.ZodObject<{
1623
1667
  optional: "optional";
1624
1668
  required: "required";
1625
1669
  }>>;
1670
+ go_rule: z.ZodOptional<z.ZodNever>;
1626
1671
  text: z.ZodString;
1627
1672
  content_flag: z.ZodOptional<z.ZodEnum<{
1628
1673
  medical: "medical";
@@ -1678,6 +1723,10 @@ export declare const AskInput: z.ZodObject<{
1678
1723
  optional: "optional";
1679
1724
  required: "required";
1680
1725
  }>>;
1726
+ go_rule: z.ZodOptional<z.ZodObject<{
1727
+ go_above: z.ZodNumber;
1728
+ min_answers: z.ZodOptional<z.ZodNumber>;
1729
+ }, z.core.$strip>>;
1681
1730
  text: z.ZodString;
1682
1731
  content_flag: z.ZodOptional<z.ZodEnum<{
1683
1732
  medical: "medical";
@@ -1733,6 +1782,10 @@ export declare const AskInput: z.ZodObject<{
1733
1782
  optional: "optional";
1734
1783
  required: "required";
1735
1784
  }>>;
1785
+ go_rule: z.ZodOptional<z.ZodObject<{
1786
+ go_above: z.ZodNumber;
1787
+ min_answers: z.ZodOptional<z.ZodNumber>;
1788
+ }, z.core.$strip>>;
1736
1789
  text: z.ZodString;
1737
1790
  content_flag: z.ZodOptional<z.ZodEnum<{
1738
1791
  medical: "medical";
@@ -1784,6 +1837,7 @@ export declare const AskInput: z.ZodObject<{
1784
1837
  type: z.ZodLiteral<"yes_mostly_no">;
1785
1838
  }, z.core.$strip>, z.ZodObject<{
1786
1839
  tier: z.ZodOptional<z.ZodNumber>;
1840
+ go_rule: z.ZodOptional<z.ZodNever>;
1787
1841
  text: z.ZodString;
1788
1842
  content_flag: z.ZodOptional<z.ZodEnum<{
1789
1843
  medical: "medical";
@@ -1838,6 +1892,7 @@ export declare const AskInput: z.ZodObject<{
1838
1892
  text: z.ZodOptional<z.ZodString>;
1839
1893
  }, z.core.$strip>;
1840
1894
  max_taps: z.ZodOptional<z.ZodNumber>;
1895
+ go_rule: z.ZodOptional<z.ZodNever>;
1841
1896
  text: z.ZodString;
1842
1897
  content_flag: z.ZodOptional<z.ZodEnum<{
1843
1898
  medical: "medical";
@@ -1883,6 +1938,7 @@ export declare const AskInput: z.ZodObject<{
1883
1938
  }, z.core.$strip>>;
1884
1939
  type: z.ZodLiteral<"click_test">;
1885
1940
  }, z.core.$strip>, z.ZodObject<{
1941
+ go_rule: z.ZodOptional<z.ZodNever>;
1886
1942
  text: z.ZodString;
1887
1943
  content_flag: z.ZodOptional<z.ZodEnum<{
1888
1944
  medical: "medical";
@@ -1954,9 +2010,9 @@ export declare const AskInput: z.ZodObject<{
1954
2010
  ranking: "ranking";
1955
2011
  yes_no: "yes_no";
1956
2012
  yes_mostly_no: "yes_mostly_no";
2013
+ free_text: "free_text";
1957
2014
  click_test: "click_test";
1958
2015
  reaction: "reaction";
1959
- free_text: "free_text";
1960
2016
  }>>;
1961
2017
  text: z.ZodString;
1962
2018
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2021,7 +2077,7 @@ export declare const WaitInput: z.ZodObject<{
2021
2077
  }, z.core.$strip>;
2022
2078
  export declare const ListQuestionsInput: z.ZodObject<{
2023
2079
  status: z.ZodOptional<z.ZodEnum<{
2024
- cancelled: "cancelled";
2080
+ canceled: "canceled";
2025
2081
  closed: "closed";
2026
2082
  live: "live";
2027
2083
  scheduled: "scheduled";
@@ -2029,6 +2085,7 @@ export declare const ListQuestionsInput: z.ZodObject<{
2029
2085
  complete: "complete";
2030
2086
  underfilled: "underfilled";
2031
2087
  refused: "refused";
2088
+ pending_approval: "pending_approval";
2032
2089
  }>>;
2033
2090
  since: z.ZodOptional<z.ZodISODateTime>;
2034
2091
  limit: z.ZodOptional<z.ZodNumber>;
@@ -2070,7 +2127,7 @@ export declare const EstimateOutput: z.ZodObject<{
2070
2127
  traits: z.ZodOptional<z.ZodNumber>;
2071
2128
  }, z.core.$strip>;
2072
2129
  export type EstimateOutput = z.infer<typeof EstimateOutput>;
2073
- /** ask_set (private-audiences-sets.md §5.7): two to ten questions behind one link, answered in order. */
2130
+ /** ask, action set (private-audiences-sets.md §5.7): two to ten questions behind one link, answered in order. */
2074
2131
  export declare const AskSetInput: z.ZodObject<{
2075
2132
  questions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2076
2133
  options: z.ZodArray<z.ZodObject<{
@@ -2083,6 +2140,7 @@ export declare const AskSetInput: z.ZodObject<{
2083
2140
  optional: "optional";
2084
2141
  required: "required";
2085
2142
  }>>;
2143
+ go_rule: z.ZodOptional<z.ZodNever>;
2086
2144
  text: z.ZodString;
2087
2145
  content_flag: z.ZodOptional<z.ZodEnum<{
2088
2146
  medical: "medical";
@@ -2142,6 +2200,7 @@ export declare const AskSetInput: z.ZodObject<{
2142
2200
  optional: "optional";
2143
2201
  required: "required";
2144
2202
  }>>;
2203
+ go_rule: z.ZodOptional<z.ZodNever>;
2145
2204
  text: z.ZodString;
2146
2205
  content_flag: z.ZodOptional<z.ZodEnum<{
2147
2206
  medical: "medical";
@@ -2202,6 +2261,7 @@ export declare const AskSetInput: z.ZodObject<{
2202
2261
  optional: "optional";
2203
2262
  required: "required";
2204
2263
  }>>;
2264
+ go_rule: z.ZodOptional<z.ZodNever>;
2205
2265
  text: z.ZodString;
2206
2266
  content_flag: z.ZodOptional<z.ZodEnum<{
2207
2267
  medical: "medical";
@@ -2262,6 +2322,7 @@ export declare const AskSetInput: z.ZodObject<{
2262
2322
  optional: "optional";
2263
2323
  required: "required";
2264
2324
  }>>;
2325
+ go_rule: z.ZodOptional<z.ZodNever>;
2265
2326
  text: z.ZodString;
2266
2327
  content_flag: z.ZodOptional<z.ZodEnum<{
2267
2328
  medical: "medical";
@@ -2317,6 +2378,7 @@ export declare const AskSetInput: z.ZodObject<{
2317
2378
  optional: "optional";
2318
2379
  required: "required";
2319
2380
  }>>;
2381
+ go_rule: z.ZodOptional<z.ZodNever>;
2320
2382
  text: z.ZodString;
2321
2383
  content_flag: z.ZodOptional<z.ZodEnum<{
2322
2384
  medical: "medical";
@@ -2376,6 +2438,7 @@ export declare const AskSetInput: z.ZodObject<{
2376
2438
  optional: "optional";
2377
2439
  required: "required";
2378
2440
  }>>;
2441
+ go_rule: z.ZodOptional<z.ZodNever>;
2379
2442
  text: z.ZodString;
2380
2443
  content_flag: z.ZodOptional<z.ZodEnum<{
2381
2444
  medical: "medical";
@@ -2431,6 +2494,10 @@ export declare const AskSetInput: z.ZodObject<{
2431
2494
  optional: "optional";
2432
2495
  required: "required";
2433
2496
  }>>;
2497
+ go_rule: z.ZodOptional<z.ZodObject<{
2498
+ go_above: z.ZodNumber;
2499
+ min_answers: z.ZodOptional<z.ZodNumber>;
2500
+ }, z.core.$strip>>;
2434
2501
  text: z.ZodString;
2435
2502
  content_flag: z.ZodOptional<z.ZodEnum<{
2436
2503
  medical: "medical";
@@ -2486,6 +2553,10 @@ export declare const AskSetInput: z.ZodObject<{
2486
2553
  optional: "optional";
2487
2554
  required: "required";
2488
2555
  }>>;
2556
+ go_rule: z.ZodOptional<z.ZodObject<{
2557
+ go_above: z.ZodNumber;
2558
+ min_answers: z.ZodOptional<z.ZodNumber>;
2559
+ }, z.core.$strip>>;
2489
2560
  text: z.ZodString;
2490
2561
  content_flag: z.ZodOptional<z.ZodEnum<{
2491
2562
  medical: "medical";
@@ -2537,6 +2608,7 @@ export declare const AskSetInput: z.ZodObject<{
2537
2608
  type: z.ZodLiteral<"yes_mostly_no">;
2538
2609
  }, z.core.$strip>, z.ZodObject<{
2539
2610
  tier: z.ZodOptional<z.ZodNumber>;
2611
+ go_rule: z.ZodOptional<z.ZodNever>;
2540
2612
  text: z.ZodString;
2541
2613
  content_flag: z.ZodOptional<z.ZodEnum<{
2542
2614
  medical: "medical";
@@ -2591,6 +2663,7 @@ export declare const AskSetInput: z.ZodObject<{
2591
2663
  text: z.ZodOptional<z.ZodString>;
2592
2664
  }, z.core.$strip>;
2593
2665
  max_taps: z.ZodOptional<z.ZodNumber>;
2666
+ go_rule: z.ZodOptional<z.ZodNever>;
2594
2667
  text: z.ZodString;
2595
2668
  content_flag: z.ZodOptional<z.ZodEnum<{
2596
2669
  medical: "medical";
@@ -2636,6 +2709,7 @@ export declare const AskSetInput: z.ZodObject<{
2636
2709
  }, z.core.$strip>>;
2637
2710
  type: z.ZodLiteral<"click_test">;
2638
2711
  }, z.core.$strip>, z.ZodObject<{
2712
+ go_rule: z.ZodOptional<z.ZodNever>;
2639
2713
  text: z.ZodString;
2640
2714
  content_flag: z.ZodOptional<z.ZodEnum<{
2641
2715
  medical: "medical";
@@ -2720,12 +2794,19 @@ export declare const AskOutput: z.ZodObject<{
2720
2794
  question_id: z.ZodString;
2721
2795
  credits_reserved: z.ZodNumber;
2722
2796
  }, z.core.$strip>>>;
2797
+ approval: z.ZodOptional<z.ZodObject<{
2798
+ approval_id: z.ZodString;
2799
+ approve_url: z.ZodString;
2800
+ expires_at: z.ZodString;
2801
+ quorum: z.ZodNumber;
2802
+ approver_roles: z.ZodArray<z.ZodString>;
2803
+ }, z.core.$strip>>;
2723
2804
  }, z.core.$strip>;
2724
2805
  export type AskOutput = z.infer<typeof AskOutput>;
2725
2806
  export declare const ResultsOutput: z.ZodObject<{
2726
2807
  question_id: z.ZodString;
2727
2808
  status: z.ZodEnum<{
2728
- cancelled: "cancelled";
2809
+ canceled: "canceled";
2729
2810
  complete: "complete";
2730
2811
  underfilled: "underfilled";
2731
2812
  in_progress: "in_progress";
@@ -2740,6 +2821,8 @@ export declare const ResultsOutput: z.ZodObject<{
2740
2821
  appearances: z.ZodOptional<z.ZodNumber>;
2741
2822
  strength: z.ZodOptional<z.ZodNumber>;
2742
2823
  rank: z.ZodOptional<z.ZodNumber>;
2824
+ low: z.ZodOptional<z.ZodNumber>;
2825
+ high: z.ZodOptional<z.ZodNumber>;
2743
2826
  }, z.core.$strip>>;
2744
2827
  mean: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2745
2828
  summary: z.ZodObject<{
@@ -2753,6 +2836,28 @@ export declare const ResultsOutput: z.ZodObject<{
2753
2836
  note: z.ZodString;
2754
2837
  suggested_follow_up: z.ZodNullable<z.ZodString>;
2755
2838
  }, z.core.$strip>;
2839
+ verdict: z.ZodOptional<z.ZodObject<{
2840
+ verdict: z.ZodEnum<{
2841
+ go: "go";
2842
+ no_go: "no_go";
2843
+ unclear: "unclear";
2844
+ }>;
2845
+ reason: z.ZodNullable<z.ZodEnum<{
2846
+ too_few: "too_few";
2847
+ too_close: "too_close";
2848
+ }>>;
2849
+ yes_share: z.ZodNumber;
2850
+ low: z.ZodNumber;
2851
+ high: z.ZodNumber;
2852
+ go_above: z.ZodNumber;
2853
+ min_answers: z.ZodNumber;
2854
+ n: z.ZodNumber;
2855
+ }, z.core.$strip>>;
2856
+ head_to_head: z.ZodOptional<z.ZodObject<{
2857
+ options: z.ZodArray<z.ZodString>;
2858
+ share: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodNumber>>>;
2859
+ n: z.ZodArray<z.ZodArray<z.ZodNumber>>;
2860
+ }, z.core.$strip>>;
2756
2861
  tier: z.ZodNullable<z.ZodNumber>;
2757
2862
  language: z.ZodString;
2758
2863
  provenance: z.ZodOptional<z.ZodObject<{
@@ -2791,7 +2896,14 @@ export declare const ResultsOutput: z.ZodObject<{
2791
2896
  upheld: "upheld";
2792
2897
  dismissed: "dismissed";
2793
2898
  }>>;
2899
+ choice: z.ZodOptional<z.ZodObject<{
2900
+ index: z.ZodOptional<z.ZodNumber>;
2901
+ indexes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2902
+ order: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2903
+ pair: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
2904
+ }, z.core.$strip>>;
2794
2905
  }, z.core.$strip>>;
2906
+ cohort_hash: z.ZodOptional<z.ZodString>;
2795
2907
  clicks: z.ZodOptional<z.ZodObject<{
2796
2908
  taps: z.ZodNumber;
2797
2909
  hotspots: z.ZodArray<z.ZodObject<{
@@ -2861,6 +2973,30 @@ export declare const ResultsOutput: z.ZodObject<{
2861
2973
  suppressed: z.ZodOptional<z.ZodBoolean>;
2862
2974
  }, z.core.$strip>;
2863
2975
  export type ResultsOutput = z.infer<typeof ResultsOutput>;
2976
+ /** One question as results (action list) and questions (action file) return it. */
2977
+ export declare const QuestionSummary: z.ZodObject<{
2978
+ question_id: z.ZodString;
2979
+ status: z.ZodString;
2980
+ type: z.ZodString;
2981
+ text: z.ZodString;
2982
+ language: z.ZodString;
2983
+ tier: z.ZodNumber;
2984
+ n_requested: z.ZodNumber;
2985
+ n_accepted: z.ZodNumber;
2986
+ leader: z.ZodNullable<z.ZodString>;
2987
+ credits_spent: z.ZodNumber;
2988
+ created_at: z.ZodString;
2989
+ project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2990
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
2991
+ external_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2992
+ archived: z.ZodOptional<z.ZodBoolean>;
2993
+ bookmarked: z.ZodOptional<z.ZodBoolean>;
2994
+ team_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2995
+ set_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2996
+ set_position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2997
+ set_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2998
+ }, z.core.$strip>;
2999
+ export type QuestionSummary = z.infer<typeof QuestionSummary>;
2864
3000
  export declare const ListQuestionsOutput: z.ZodObject<{
2865
3001
  questions: z.ZodArray<z.ZodObject<{
2866
3002
  question_id: z.ZodString;
@@ -2878,6 +3014,7 @@ export declare const ListQuestionsOutput: z.ZodObject<{
2878
3014
  labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
2879
3015
  external_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2880
3016
  archived: z.ZodOptional<z.ZodBoolean>;
3017
+ bookmarked: z.ZodOptional<z.ZodBoolean>;
2881
3018
  team_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2882
3019
  set_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2883
3020
  set_position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2918,6 +3055,83 @@ export declare const BalanceOutput: z.ZodObject<{
2918
3055
  }, z.core.$strip>;
2919
3056
  }, z.core.$strip>;
2920
3057
  export type BalanceOutput = z.infer<typeof BalanceOutput>;
3058
+ export declare const ServiceStatusOutput: z.ZodObject<{
3059
+ status: z.ZodEnum<{
3060
+ paused: "paused";
3061
+ operational: "operational";
3062
+ degraded: "degraded";
3063
+ outage: "outage";
3064
+ }>;
3065
+ components: z.ZodArray<z.ZodObject<{
3066
+ id: z.ZodString;
3067
+ status: z.ZodString;
3068
+ note: z.ZodNullable<z.ZodString>;
3069
+ }, z.core.$strip>>;
3070
+ message: z.ZodNullable<z.ZodString>;
3071
+ until: z.ZodNullable<z.ZodString>;
3072
+ page: z.ZodString;
3073
+ }, z.core.$strip>;
3074
+ export type ServiceStatusOutput = z.infer<typeof ServiceStatusOutput>;
3075
+ export declare const LimitOutput: z.ZodObject<{
3076
+ id: z.ZodString;
3077
+ applies_to: z.ZodString;
3078
+ per: z.ZodEnum<{
3079
+ account: "account";
3080
+ connection: "connection";
3081
+ }>;
3082
+ limit: z.ZodNumber;
3083
+ window_seconds: z.ZodNumber;
3084
+ used: z.ZodNullable<z.ZodNumber>;
3085
+ remaining: z.ZodNullable<z.ZodNumber>;
3086
+ reset_seconds: z.ZodNumber;
3087
+ }, z.core.$strip>;
3088
+ export declare const WhoAmIOutput: z.ZodObject<{
3089
+ principal: z.ZodObject<{
3090
+ type: z.ZodEnum<{
3091
+ person: "person";
3092
+ service_account: "service_account";
3093
+ }>;
3094
+ id: z.ZodString;
3095
+ email: z.ZodNullable<z.ZodString>;
3096
+ }, z.core.$strip>;
3097
+ auth: z.ZodString;
3098
+ scopes: z.ZodNullable<z.ZodArray<z.ZodString>>;
3099
+ connection: z.ZodNullable<z.ZodObject<{
3100
+ id: z.ZodString;
3101
+ client_name: z.ZodString;
3102
+ cap_daily_credits: z.ZodNumber;
3103
+ spent_today_credits: z.ZodNumber;
3104
+ cap_question_credits: z.ZodNullable<z.ZodNumber>;
3105
+ }, z.core.$strip>>;
3106
+ account: z.ZodObject<{
3107
+ kind: z.ZodEnum<{
3108
+ personal: "personal";
3109
+ team: "team";
3110
+ }>;
3111
+ team_id: z.ZodNullable<z.ZodString>;
3112
+ team_name: z.ZodNullable<z.ZodString>;
3113
+ role: z.ZodNullable<z.ZodString>;
3114
+ }, z.core.$strip>;
3115
+ organization: z.ZodNullable<z.ZodObject<{
3116
+ id: z.ZodString;
3117
+ name: z.ZodString;
3118
+ admin: z.ZodBoolean;
3119
+ }, z.core.$strip>>;
3120
+ limits: z.ZodArray<z.ZodObject<{
3121
+ id: z.ZodString;
3122
+ applies_to: z.ZodString;
3123
+ per: z.ZodEnum<{
3124
+ account: "account";
3125
+ connection: "connection";
3126
+ }>;
3127
+ limit: z.ZodNumber;
3128
+ window_seconds: z.ZodNumber;
3129
+ used: z.ZodNullable<z.ZodNumber>;
3130
+ remaining: z.ZodNullable<z.ZodNumber>;
3131
+ reset_seconds: z.ZodNumber;
3132
+ }, z.core.$strip>>;
3133
+ }, z.core.$strip>;
3134
+ export type WhoAmIOutput = z.infer<typeof WhoAmIOutput>;
2921
3135
  /** Largest decoded upload the API takes (apps/api/src/lib/uploads.ts LIMITS.imageBytes). */
2922
3136
  export declare const MAX_UPLOAD_BYTES: number;
2923
3137
  export declare const UPLOAD_IMAGE_TYPES: readonly ["image/jpeg", "image/png", "image/webp"];
@@ -2982,6 +3196,12 @@ export declare const GetAnswersOutput: z.ZodObject<{
2982
3196
  tier: z.ZodNullable<z.ZodNumber>;
2983
3197
  attestation_ref: z.ZodNullable<z.ZodString>;
2984
3198
  answered_at: z.ZodString;
3199
+ choice: z.ZodOptional<z.ZodObject<{
3200
+ index: z.ZodOptional<z.ZodNumber>;
3201
+ indexes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
3202
+ order: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
3203
+ pair: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
3204
+ }, z.core.$strip>>;
2985
3205
  }, z.core.$strip>>;
2986
3206
  next_cursor: z.ZodNullable<z.ZodString>;
2987
3207
  filter: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
@@ -3031,6 +3251,7 @@ export declare const ExportInput: z.ZodObject<{
3031
3251
  pdf: "pdf";
3032
3252
  png: "png";
3033
3253
  csv: "csv";
3254
+ jsonl: "jsonl";
3034
3255
  }>>;
3035
3256
  }, z.core.$strip>;
3036
3257
  export declare const ExportOutput: z.ZodObject<{
@@ -3039,6 +3260,7 @@ export declare const ExportOutput: z.ZodObject<{
3039
3260
  pdf: "pdf";
3040
3261
  png: "png";
3041
3262
  csv: "csv";
3263
+ jsonl: "jsonl";
3042
3264
  }>;
3043
3265
  filename: z.ZodString;
3044
3266
  content_type: z.ZodString;
@@ -3057,9 +3279,9 @@ export declare const BuildAskLinkInput: z.ZodObject<{
3057
3279
  ranking: "ranking";
3058
3280
  yes_no: "yes_no";
3059
3281
  yes_mostly_no: "yes_mostly_no";
3282
+ free_text: "free_text";
3060
3283
  click_test: "click_test";
3061
3284
  reaction: "reaction";
3062
- free_text: "free_text";
3063
3285
  }>>;
3064
3286
  text: z.ZodOptional<z.ZodString>;
3065
3287
  context: z.ZodOptional<z.ZodString>;
@@ -3100,6 +3322,61 @@ export declare const BuildAskLinkInput: z.ZodObject<{
3100
3322
  bulk: z.ZodOptional<z.ZodBoolean>;
3101
3323
  }, z.core.$strip>;
3102
3324
  export type BuildAskLinkInput = z.infer<typeof BuildAskLinkInput>;
3325
+ /** ask, action build_link: the draft to fill in, or a template, follow-up, re-ask or the bulk composer. */
3326
+ export declare const BuildLinkInput: z.ZodObject<{
3327
+ draft: z.ZodOptional<z.ZodObject<{
3328
+ type: z.ZodOptional<z.ZodEnum<{
3329
+ single_choice: "single_choice";
3330
+ multi_choice: "multi_choice";
3331
+ ab_image: "ab_image";
3332
+ pairwise: "pairwise";
3333
+ scale_1_5: "scale_1_5";
3334
+ ranking: "ranking";
3335
+ yes_no: "yes_no";
3336
+ yes_mostly_no: "yes_mostly_no";
3337
+ free_text: "free_text";
3338
+ click_test: "click_test";
3339
+ reaction: "reaction";
3340
+ }>>;
3341
+ text: z.ZodOptional<z.ZodString>;
3342
+ context: z.ZodOptional<z.ZodString>;
3343
+ language: z.ZodOptional<z.ZodString>;
3344
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
3345
+ label: z.ZodOptional<z.ZodString>;
3346
+ image_url: z.ZodOptional<z.ZodURL>;
3347
+ }, z.core.$strip>>>;
3348
+ stimulus: z.ZodOptional<z.ZodObject<{
3349
+ image_url: z.ZodOptional<z.ZodURL>;
3350
+ text: z.ZodOptional<z.ZodString>;
3351
+ }, z.core.$strip>>;
3352
+ neither: z.ZodOptional<z.ZodBoolean>;
3353
+ n: z.ZodOptional<z.ZodNumber>;
3354
+ tier: z.ZodOptional<z.ZodNumber>;
3355
+ rush: z.ZodOptional<z.ZodBoolean>;
3356
+ targeting: z.ZodOptional<z.ZodObject<{
3357
+ country: z.ZodOptional<z.ZodArray<z.ZodString>>;
3358
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3359
+ age_bands: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3360
+ "18-24": "18-24";
3361
+ "25-34": "25-34";
3362
+ "35-44": "35-44";
3363
+ "45-54": "45-54";
3364
+ "55-64": "55-64";
3365
+ "65+": "65+";
3366
+ }>>>;
3367
+ genders: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3368
+ woman: "woman";
3369
+ man: "man";
3370
+ non_binary: "non_binary";
3371
+ }>>>;
3372
+ verified_age: z.ZodOptional<z.ZodBoolean>;
3373
+ }, z.core.$strip>>;
3374
+ }, z.core.$strip>>;
3375
+ template_id: z.ZodOptional<z.ZodString>;
3376
+ follow_up_of: z.ZodOptional<z.ZodString>;
3377
+ reask: z.ZodOptional<z.ZodString>;
3378
+ bulk: z.ZodOptional<z.ZodBoolean>;
3379
+ }, z.core.$strip>;
3103
3380
  export declare const BuildAskLinkOutput: z.ZodObject<{
3104
3381
  url: z.ZodString;
3105
3382
  params: z.ZodArray<z.ZodObject<{
@@ -3210,3 +3487,688 @@ export declare const SendFeedbackOutput: z.ZodObject<{
3210
3487
  ticket_id: z.ZodString;
3211
3488
  status: z.ZodLiteral<"received">;
3212
3489
  }, z.core.$strip>;
3490
+ export declare const WebhookFilterInput: z.ZodObject<{
3491
+ project_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3492
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
3493
+ }, z.core.$strip>;
3494
+ export declare const WebhookEndpointOut: z.ZodObject<{
3495
+ id: z.ZodString;
3496
+ url: z.ZodString;
3497
+ events: z.ZodArray<z.ZodString>;
3498
+ description: z.ZodNullable<z.ZodString>;
3499
+ enabled: z.ZodBoolean;
3500
+ disabled_reason: z.ZodNullable<z.ZodString>;
3501
+ team_id: z.ZodNullable<z.ZodString>;
3502
+ api_version: z.ZodNullable<z.ZodString>;
3503
+ filter: z.ZodNullable<z.ZodObject<{
3504
+ project_ids: z.ZodArray<z.ZodString>;
3505
+ labels: z.ZodArray<z.ZodString>;
3506
+ }, z.core.$strip>>;
3507
+ secret: z.ZodString;
3508
+ previous_secret: z.ZodNullable<z.ZodObject<{
3509
+ secret: z.ZodString;
3510
+ expires_at: z.ZodString;
3511
+ }, z.core.$strip>>;
3512
+ created_at: z.ZodString;
3513
+ last_delivery_at: z.ZodNullable<z.ZodString>;
3514
+ last_status: z.ZodNullable<z.ZodNumber>;
3515
+ last_success_at: z.ZodNullable<z.ZodString>;
3516
+ }, z.core.$strip>;
3517
+ export type WebhookEndpointOut = z.infer<typeof WebhookEndpointOut>;
3518
+ export declare const WebhookDeliveryOut: z.ZodObject<{
3519
+ id: z.ZodString;
3520
+ endpoint_id: z.ZodString;
3521
+ event: z.ZodString;
3522
+ event_id: z.ZodNullable<z.ZodString>;
3523
+ state: z.ZodNullable<z.ZodEnum<{
3524
+ pending: "pending";
3525
+ delivering: "delivering";
3526
+ succeeded: "succeeded";
3527
+ failed: "failed";
3528
+ }>>;
3529
+ status: z.ZodNullable<z.ZodNumber>;
3530
+ attempts: z.ZodNumber;
3531
+ last_error: z.ZodNullable<z.ZodString>;
3532
+ next_attempt_at: z.ZodNullable<z.ZodString>;
3533
+ delivered_at: z.ZodNullable<z.ZodString>;
3534
+ created_at: z.ZodString;
3535
+ replay_of: z.ZodNullable<z.ZodString>;
3536
+ }, z.core.$strip>;
3537
+ export type WebhookDeliveryOut = z.infer<typeof WebhookDeliveryOut>;
3538
+ export declare const ListWebhooksOutput: z.ZodObject<{
3539
+ endpoints: z.ZodArray<z.ZodObject<{
3540
+ id: z.ZodString;
3541
+ url: z.ZodString;
3542
+ events: z.ZodArray<z.ZodString>;
3543
+ description: z.ZodNullable<z.ZodString>;
3544
+ enabled: z.ZodBoolean;
3545
+ disabled_reason: z.ZodNullable<z.ZodString>;
3546
+ team_id: z.ZodNullable<z.ZodString>;
3547
+ api_version: z.ZodNullable<z.ZodString>;
3548
+ filter: z.ZodNullable<z.ZodObject<{
3549
+ project_ids: z.ZodArray<z.ZodString>;
3550
+ labels: z.ZodArray<z.ZodString>;
3551
+ }, z.core.$strip>>;
3552
+ secret: z.ZodString;
3553
+ previous_secret: z.ZodNullable<z.ZodObject<{
3554
+ secret: z.ZodString;
3555
+ expires_at: z.ZodString;
3556
+ }, z.core.$strip>>;
3557
+ created_at: z.ZodString;
3558
+ last_delivery_at: z.ZodNullable<z.ZodString>;
3559
+ last_status: z.ZodNullable<z.ZodNumber>;
3560
+ last_success_at: z.ZodNullable<z.ZodString>;
3561
+ }, z.core.$strip>>;
3562
+ }, z.core.$strip>;
3563
+ export declare const CreateWebhookInput: z.ZodObject<{
3564
+ url: z.ZodURL;
3565
+ events: z.ZodArray<z.ZodEnum<{
3566
+ "question.reserved": "question.reserved";
3567
+ "question.completed": "question.completed";
3568
+ "question.underfilled": "question.underfilled";
3569
+ "question.canceled": "question.canceled";
3570
+ "question.refused": "question.refused";
3571
+ "credits.purchased": "credits.purchased";
3572
+ "credits.low": "credits.low";
3573
+ "credits.expiring": "credits.expiring";
3574
+ "dispute.resolved": "dispute.resolved";
3575
+ "connection.cap_warning": "connection.cap_warning";
3576
+ "member.provisioned": "member.provisioned";
3577
+ "member.deprovisioned": "member.deprovisioned";
3578
+ "policy.changed": "policy.changed";
3579
+ "approval.requested": "approval.requested";
3580
+ "approval.decided": "approval.decided";
3581
+ "approval.expired": "approval.expired";
3582
+ "approval.refused": "approval.refused";
3583
+ }>>;
3584
+ description: z.ZodOptional<z.ZodString>;
3585
+ filter: z.ZodOptional<z.ZodObject<{
3586
+ project_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3587
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
3588
+ }, z.core.$strip>>;
3589
+ }, z.core.$strip>;
3590
+ export declare const CreateWebhookOutput: z.ZodObject<{
3591
+ endpoint: z.ZodObject<{
3592
+ id: z.ZodString;
3593
+ url: z.ZodString;
3594
+ events: z.ZodArray<z.ZodString>;
3595
+ description: z.ZodNullable<z.ZodString>;
3596
+ enabled: z.ZodBoolean;
3597
+ disabled_reason: z.ZodNullable<z.ZodString>;
3598
+ team_id: z.ZodNullable<z.ZodString>;
3599
+ api_version: z.ZodNullable<z.ZodString>;
3600
+ filter: z.ZodNullable<z.ZodObject<{
3601
+ project_ids: z.ZodArray<z.ZodString>;
3602
+ labels: z.ZodArray<z.ZodString>;
3603
+ }, z.core.$strip>>;
3604
+ secret: z.ZodString;
3605
+ previous_secret: z.ZodNullable<z.ZodObject<{
3606
+ secret: z.ZodString;
3607
+ expires_at: z.ZodString;
3608
+ }, z.core.$strip>>;
3609
+ created_at: z.ZodString;
3610
+ last_delivery_at: z.ZodNullable<z.ZodString>;
3611
+ last_status: z.ZodNullable<z.ZodNumber>;
3612
+ last_success_at: z.ZodNullable<z.ZodString>;
3613
+ }, z.core.$strip>;
3614
+ secret: z.ZodString;
3615
+ }, z.core.$strip>;
3616
+ export declare const UpdateWebhookInput: z.ZodObject<{
3617
+ id: z.ZodString;
3618
+ url: z.ZodOptional<z.ZodURL>;
3619
+ events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3620
+ "question.reserved": "question.reserved";
3621
+ "question.completed": "question.completed";
3622
+ "question.underfilled": "question.underfilled";
3623
+ "question.canceled": "question.canceled";
3624
+ "question.refused": "question.refused";
3625
+ "credits.purchased": "credits.purchased";
3626
+ "credits.low": "credits.low";
3627
+ "credits.expiring": "credits.expiring";
3628
+ "dispute.resolved": "dispute.resolved";
3629
+ "connection.cap_warning": "connection.cap_warning";
3630
+ "member.provisioned": "member.provisioned";
3631
+ "member.deprovisioned": "member.deprovisioned";
3632
+ "policy.changed": "policy.changed";
3633
+ "approval.requested": "approval.requested";
3634
+ "approval.decided": "approval.decided";
3635
+ "approval.expired": "approval.expired";
3636
+ "approval.refused": "approval.refused";
3637
+ }>>>;
3638
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3639
+ enabled: z.ZodOptional<z.ZodBoolean>;
3640
+ filter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3641
+ project_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3642
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
3643
+ }, z.core.$strip>>>;
3644
+ }, z.core.$strip>;
3645
+ export declare const WebhookEndpointResult: z.ZodObject<{
3646
+ endpoint: z.ZodObject<{
3647
+ id: z.ZodString;
3648
+ url: z.ZodString;
3649
+ events: z.ZodArray<z.ZodString>;
3650
+ description: z.ZodNullable<z.ZodString>;
3651
+ enabled: z.ZodBoolean;
3652
+ disabled_reason: z.ZodNullable<z.ZodString>;
3653
+ team_id: z.ZodNullable<z.ZodString>;
3654
+ api_version: z.ZodNullable<z.ZodString>;
3655
+ filter: z.ZodNullable<z.ZodObject<{
3656
+ project_ids: z.ZodArray<z.ZodString>;
3657
+ labels: z.ZodArray<z.ZodString>;
3658
+ }, z.core.$strip>>;
3659
+ secret: z.ZodString;
3660
+ previous_secret: z.ZodNullable<z.ZodObject<{
3661
+ secret: z.ZodString;
3662
+ expires_at: z.ZodString;
3663
+ }, z.core.$strip>>;
3664
+ created_at: z.ZodString;
3665
+ last_delivery_at: z.ZodNullable<z.ZodString>;
3666
+ last_status: z.ZodNullable<z.ZodNumber>;
3667
+ last_success_at: z.ZodNullable<z.ZodString>;
3668
+ }, z.core.$strip>;
3669
+ }, z.core.$strip>;
3670
+ export declare const RotateWebhookSecretInput: z.ZodObject<{
3671
+ id: z.ZodString;
3672
+ overlap_hours: z.ZodOptional<z.ZodNumber>;
3673
+ }, z.core.$strip>;
3674
+ export declare const RotateWebhookSecretOutput: z.ZodObject<{
3675
+ endpoint: z.ZodObject<{
3676
+ id: z.ZodString;
3677
+ url: z.ZodString;
3678
+ events: z.ZodArray<z.ZodString>;
3679
+ description: z.ZodNullable<z.ZodString>;
3680
+ enabled: z.ZodBoolean;
3681
+ disabled_reason: z.ZodNullable<z.ZodString>;
3682
+ team_id: z.ZodNullable<z.ZodString>;
3683
+ api_version: z.ZodNullable<z.ZodString>;
3684
+ filter: z.ZodNullable<z.ZodObject<{
3685
+ project_ids: z.ZodArray<z.ZodString>;
3686
+ labels: z.ZodArray<z.ZodString>;
3687
+ }, z.core.$strip>>;
3688
+ secret: z.ZodString;
3689
+ previous_secret: z.ZodNullable<z.ZodObject<{
3690
+ secret: z.ZodString;
3691
+ expires_at: z.ZodString;
3692
+ }, z.core.$strip>>;
3693
+ created_at: z.ZodString;
3694
+ last_delivery_at: z.ZodNullable<z.ZodString>;
3695
+ last_status: z.ZodNullable<z.ZodNumber>;
3696
+ last_success_at: z.ZodNullable<z.ZodString>;
3697
+ }, z.core.$strip>;
3698
+ secret: z.ZodString;
3699
+ previous_secret_expires_at: z.ZodNullable<z.ZodString>;
3700
+ }, z.core.$strip>;
3701
+ export declare const WebhookIdInput: z.ZodObject<{
3702
+ id: z.ZodString;
3703
+ }, z.core.$strip>;
3704
+ export declare const TestWebhookOutput: z.ZodObject<{
3705
+ outcome: z.ZodString;
3706
+ delivery: z.ZodObject<{
3707
+ id: z.ZodString;
3708
+ endpoint_id: z.ZodString;
3709
+ event: z.ZodString;
3710
+ event_id: z.ZodNullable<z.ZodString>;
3711
+ state: z.ZodNullable<z.ZodEnum<{
3712
+ pending: "pending";
3713
+ delivering: "delivering";
3714
+ succeeded: "succeeded";
3715
+ failed: "failed";
3716
+ }>>;
3717
+ status: z.ZodNullable<z.ZodNumber>;
3718
+ attempts: z.ZodNumber;
3719
+ last_error: z.ZodNullable<z.ZodString>;
3720
+ next_attempt_at: z.ZodNullable<z.ZodString>;
3721
+ delivered_at: z.ZodNullable<z.ZodString>;
3722
+ created_at: z.ZodString;
3723
+ replay_of: z.ZodNullable<z.ZodString>;
3724
+ }, z.core.$strip>;
3725
+ }, z.core.$strip>;
3726
+ export declare const ListWebhookDeliveriesInput: z.ZodObject<{
3727
+ endpoint_id: z.ZodOptional<z.ZodString>;
3728
+ state: z.ZodOptional<z.ZodEnum<{
3729
+ pending: "pending";
3730
+ delivering: "delivering";
3731
+ succeeded: "succeeded";
3732
+ failed: "failed";
3733
+ }>>;
3734
+ }, z.core.$strip>;
3735
+ export declare const ListWebhookDeliveriesOutput: z.ZodObject<{
3736
+ deliveries: z.ZodArray<z.ZodObject<{
3737
+ id: z.ZodString;
3738
+ endpoint_id: z.ZodString;
3739
+ event: z.ZodString;
3740
+ event_id: z.ZodNullable<z.ZodString>;
3741
+ state: z.ZodNullable<z.ZodEnum<{
3742
+ pending: "pending";
3743
+ delivering: "delivering";
3744
+ succeeded: "succeeded";
3745
+ failed: "failed";
3746
+ }>>;
3747
+ status: z.ZodNullable<z.ZodNumber>;
3748
+ attempts: z.ZodNumber;
3749
+ last_error: z.ZodNullable<z.ZodString>;
3750
+ next_attempt_at: z.ZodNullable<z.ZodString>;
3751
+ delivered_at: z.ZodNullable<z.ZodString>;
3752
+ created_at: z.ZodString;
3753
+ replay_of: z.ZodNullable<z.ZodString>;
3754
+ }, z.core.$strip>>;
3755
+ }, z.core.$strip>;
3756
+ export declare const ListWebhookEventsInput: z.ZodObject<{
3757
+ type: z.ZodEnum<{
3758
+ "question.reserved": "question.reserved";
3759
+ "question.completed": "question.completed";
3760
+ "question.underfilled": "question.underfilled";
3761
+ "question.canceled": "question.canceled";
3762
+ "question.refused": "question.refused";
3763
+ "credits.purchased": "credits.purchased";
3764
+ "credits.low": "credits.low";
3765
+ "credits.expiring": "credits.expiring";
3766
+ "dispute.resolved": "dispute.resolved";
3767
+ "connection.cap_warning": "connection.cap_warning";
3768
+ "webhook.test": "webhook.test";
3769
+ "member.provisioned": "member.provisioned";
3770
+ "member.deprovisioned": "member.deprovisioned";
3771
+ "policy.changed": "policy.changed";
3772
+ "approval.requested": "approval.requested";
3773
+ "approval.decided": "approval.decided";
3774
+ "approval.expired": "approval.expired";
3775
+ "approval.refused": "approval.refused";
3776
+ }>;
3777
+ limit: z.ZodOptional<z.ZodNumber>;
3778
+ }, z.core.$strip>;
3779
+ export declare const ListWebhookEventsOutput: z.ZodObject<{
3780
+ events: z.ZodArray<z.ZodObject<{
3781
+ id: z.ZodString;
3782
+ type: z.ZodString;
3783
+ createdAt: z.ZodString;
3784
+ apiVersion: z.ZodOptional<z.ZodString>;
3785
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3786
+ }, z.core.$strip>>;
3787
+ }, z.core.$strip>;
3788
+ export declare const ReplayWebhookDeliveryInput: z.ZodObject<{
3789
+ delivery_id: z.ZodString;
3790
+ }, z.core.$strip>;
3791
+ export declare const ReplayWebhookDeliveryOutput: z.ZodObject<{
3792
+ delivery_id: z.ZodString;
3793
+ replay_of: z.ZodString;
3794
+ }, z.core.$strip>;
3795
+ export declare const DeleteWebhookOutput: z.ZodObject<{
3796
+ id: z.ZodString;
3797
+ deleted: z.ZodLiteral<true>;
3798
+ }, z.core.$strip>;
3799
+ /** A label on a question: up to 40 characters, no commas. */
3800
+ export declare const LabelInput: z.ZodString;
3801
+ export declare const MAX_LABELS = 10;
3802
+ export declare const ProjectIdInput: z.ZodObject<{
3803
+ project_id: z.ZodString;
3804
+ }, z.core.$strip>;
3805
+ export declare const ProjectOutput: z.ZodObject<{
3806
+ project_id: z.ZodString;
3807
+ name: z.ZodString;
3808
+ description: z.ZodNullable<z.ZodString>;
3809
+ goal: z.ZodNullable<z.ZodString>;
3810
+ question_count: z.ZodNumber;
3811
+ archived: z.ZodBoolean;
3812
+ bookmarked: z.ZodBoolean;
3813
+ created_at: z.ZodString;
3814
+ updated_at: z.ZodString;
3815
+ }, z.core.$strip>;
3816
+ export type ProjectOutput = z.infer<typeof ProjectOutput>;
3817
+ export declare const ListProjectsInput: z.ZodObject<{
3818
+ include_archived: z.ZodOptional<z.ZodBoolean>;
3819
+ }, z.core.$strip>;
3820
+ export declare const ListProjectsOutput: z.ZodObject<{
3821
+ projects: z.ZodArray<z.ZodObject<{
3822
+ project_id: z.ZodString;
3823
+ name: z.ZodString;
3824
+ description: z.ZodNullable<z.ZodString>;
3825
+ goal: z.ZodNullable<z.ZodString>;
3826
+ question_count: z.ZodNumber;
3827
+ archived: z.ZodBoolean;
3828
+ bookmarked: z.ZodBoolean;
3829
+ created_at: z.ZodString;
3830
+ updated_at: z.ZodString;
3831
+ }, z.core.$strip>>;
3832
+ }, z.core.$strip>;
3833
+ export declare const CreateProjectInput: z.ZodObject<{
3834
+ name: z.ZodString;
3835
+ description: z.ZodOptional<z.ZodString>;
3836
+ }, z.core.$strip>;
3837
+ export declare const UpdateProjectInput: z.ZodObject<{
3838
+ project_id: z.ZodString;
3839
+ name: z.ZodOptional<z.ZodString>;
3840
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3841
+ archived: z.ZodOptional<z.ZodBoolean>;
3842
+ }, z.core.$strip>;
3843
+ export declare const DeleteProjectOutput: z.ZodObject<{
3844
+ project_id: z.ZodString;
3845
+ deleted: z.ZodLiteral<true>;
3846
+ }, z.core.$strip>;
3847
+ export declare const ListLabelsOutput: z.ZodObject<{
3848
+ labels: z.ZodArray<z.ZodObject<{
3849
+ label: z.ZodString;
3850
+ count: z.ZodNumber;
3851
+ }, z.core.$strip>>;
3852
+ }, z.core.$strip>;
3853
+ export declare const FileQuestionInput: z.ZodObject<{
3854
+ question_id: z.ZodString;
3855
+ project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3856
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
3857
+ archived: z.ZodOptional<z.ZodBoolean>;
3858
+ bookmarked: z.ZodOptional<z.ZodBoolean>;
3859
+ external_ref: z.ZodOptional<z.ZodString>;
3860
+ }, z.core.$strip>;
3861
+ export declare const WorkspaceAppOut: z.ZodObject<{
3862
+ app_id: z.ZodString;
3863
+ provider: z.ZodEnum<{
3864
+ teams: "teams";
3865
+ slack: "slack";
3866
+ }>;
3867
+ workspace_id: z.ZodString;
3868
+ workspace_name: z.ZodString;
3869
+ default_channel: z.ZodNullable<z.ZodString>;
3870
+ cap_daily_credits: z.ZodNumber;
3871
+ spent_today_credits: z.ZodNumber;
3872
+ installed_at: z.ZodString;
3873
+ installed_by: z.ZodNullable<z.ZodString>;
3874
+ status: z.ZodEnum<{
3875
+ active: "active";
3876
+ revoked: "revoked";
3877
+ }>;
3878
+ }, z.core.$strip>;
3879
+ export type WorkspaceAppOut = z.infer<typeof WorkspaceAppOut>;
3880
+ export declare const ZapierConnectionOut: z.ZodObject<{
3881
+ connection_id: z.ZodString;
3882
+ connected_at: z.ZodString;
3883
+ last_used_at: z.ZodNullable<z.ZodString>;
3884
+ cap_daily_credits: z.ZodNumber;
3885
+ spent_today_credits: z.ZodNumber;
3886
+ hooks: z.ZodNumber;
3887
+ connected_by: z.ZodNullable<z.ZodString>;
3888
+ }, z.core.$strip>;
3889
+ export type ZapierConnectionOut = z.infer<typeof ZapierConnectionOut>;
3890
+ export declare const ListAppsOutput: z.ZodObject<{
3891
+ apps: z.ZodArray<z.ZodObject<{
3892
+ app_id: z.ZodString;
3893
+ provider: z.ZodEnum<{
3894
+ teams: "teams";
3895
+ slack: "slack";
3896
+ }>;
3897
+ workspace_id: z.ZodString;
3898
+ workspace_name: z.ZodString;
3899
+ default_channel: z.ZodNullable<z.ZodString>;
3900
+ cap_daily_credits: z.ZodNumber;
3901
+ spent_today_credits: z.ZodNumber;
3902
+ installed_at: z.ZodString;
3903
+ installed_by: z.ZodNullable<z.ZodString>;
3904
+ status: z.ZodEnum<{
3905
+ active: "active";
3906
+ revoked: "revoked";
3907
+ }>;
3908
+ }, z.core.$strip>>;
3909
+ zapier: z.ZodArray<z.ZodObject<{
3910
+ connection_id: z.ZodString;
3911
+ connected_at: z.ZodString;
3912
+ last_used_at: z.ZodNullable<z.ZodString>;
3913
+ cap_daily_credits: z.ZodNumber;
3914
+ spent_today_credits: z.ZodNumber;
3915
+ hooks: z.ZodNumber;
3916
+ connected_by: z.ZodNullable<z.ZodString>;
3917
+ }, z.core.$strip>>;
3918
+ }, z.core.$strip>;
3919
+ export declare const OrganizationOut: z.ZodObject<{
3920
+ organization_id: z.ZodString;
3921
+ name: z.ZodString;
3922
+ role: z.ZodEnum<{
3923
+ admin: "admin";
3924
+ member: "member";
3925
+ }>;
3926
+ workspaces: z.ZodArray<z.ZodObject<{
3927
+ workspace_id: z.ZodString;
3928
+ name: z.ZodString;
3929
+ }, z.core.$strip>>;
3930
+ default_workspace_id: z.ZodNullable<z.ZodString>;
3931
+ verified_domains: z.ZodArray<z.ZodString>;
3932
+ single_sign_on: z.ZodNullable<z.ZodObject<{
3933
+ state: z.ZodEnum<{
3934
+ enabled: "enabled";
3935
+ draft: "draft";
3936
+ tested: "tested";
3937
+ }>;
3938
+ required: z.ZodBoolean;
3939
+ }, z.core.$strip>>;
3940
+ scim_active: z.ZodNullable<z.ZodBoolean>;
3941
+ security_policies: z.ZodNullable<z.ZodObject<{
3942
+ two_step_required: z.ZodBoolean;
3943
+ max_session_age_minutes: z.ZodNullable<z.ZodNumber>;
3944
+ idle_timeout_minutes: z.ZodNullable<z.ZodNumber>;
3945
+ reauth_window_minutes: z.ZodNullable<z.ZodNumber>;
3946
+ }, z.core.$strip>>;
3947
+ service_accounts_available: z.ZodBoolean;
3948
+ }, z.core.$strip>;
3949
+ export type OrganizationOut = z.infer<typeof OrganizationOut>;
3950
+ export declare const GetOrganizationOutput: z.ZodObject<{
3951
+ organization: z.ZodObject<{
3952
+ organization_id: z.ZodString;
3953
+ name: z.ZodString;
3954
+ role: z.ZodEnum<{
3955
+ admin: "admin";
3956
+ member: "member";
3957
+ }>;
3958
+ workspaces: z.ZodArray<z.ZodObject<{
3959
+ workspace_id: z.ZodString;
3960
+ name: z.ZodString;
3961
+ }, z.core.$strip>>;
3962
+ default_workspace_id: z.ZodNullable<z.ZodString>;
3963
+ verified_domains: z.ZodArray<z.ZodString>;
3964
+ single_sign_on: z.ZodNullable<z.ZodObject<{
3965
+ state: z.ZodEnum<{
3966
+ enabled: "enabled";
3967
+ draft: "draft";
3968
+ tested: "tested";
3969
+ }>;
3970
+ required: z.ZodBoolean;
3971
+ }, z.core.$strip>>;
3972
+ scim_active: z.ZodNullable<z.ZodBoolean>;
3973
+ security_policies: z.ZodNullable<z.ZodObject<{
3974
+ two_step_required: z.ZodBoolean;
3975
+ max_session_age_minutes: z.ZodNullable<z.ZodNumber>;
3976
+ idle_timeout_minutes: z.ZodNullable<z.ZodNumber>;
3977
+ reauth_window_minutes: z.ZodNullable<z.ZodNumber>;
3978
+ }, z.core.$strip>>;
3979
+ service_accounts_available: z.ZodBoolean;
3980
+ }, z.core.$strip>;
3981
+ }, z.core.$strip>;
3982
+ export declare const DomainOut: z.ZodObject<{
3983
+ domain_id: z.ZodString;
3984
+ domain: z.ZodString;
3985
+ state: z.ZodEnum<{
3986
+ verified: "verified";
3987
+ pending: "pending";
3988
+ failed: "failed";
3989
+ warning: "warning";
3990
+ revoked: "revoked";
3991
+ }>;
3992
+ txt_record_name: z.ZodString;
3993
+ txt_record_value: z.ZodString;
3994
+ verified_at: z.ZodNullable<z.ZodString>;
3995
+ checked_at: z.ZodNullable<z.ZodString>;
3996
+ last_error: z.ZodNullable<z.ZodString>;
3997
+ grace_ends_at: z.ZodNullable<z.ZodString>;
3998
+ }, z.core.$strip>;
3999
+ export type DomainOut = z.infer<typeof DomainOut>;
4000
+ export declare const ListDomainsOutput: z.ZodObject<{
4001
+ domains: z.ZodArray<z.ZodObject<{
4002
+ domain_id: z.ZodString;
4003
+ domain: z.ZodString;
4004
+ state: z.ZodEnum<{
4005
+ verified: "verified";
4006
+ pending: "pending";
4007
+ failed: "failed";
4008
+ warning: "warning";
4009
+ revoked: "revoked";
4010
+ }>;
4011
+ txt_record_name: z.ZodString;
4012
+ txt_record_value: z.ZodString;
4013
+ verified_at: z.ZodNullable<z.ZodString>;
4014
+ checked_at: z.ZodNullable<z.ZodString>;
4015
+ last_error: z.ZodNullable<z.ZodString>;
4016
+ grace_ends_at: z.ZodNullable<z.ZodString>;
4017
+ }, z.core.$strip>>;
4018
+ }, z.core.$strip>;
4019
+ export declare const ListAuditEventsInput: z.ZodObject<{
4020
+ limit: z.ZodOptional<z.ZodNumber>;
4021
+ cursor: z.ZodOptional<z.ZodString>;
4022
+ from: z.ZodOptional<z.ZodString>;
4023
+ to: z.ZodOptional<z.ZodString>;
4024
+ actor: z.ZodOptional<z.ZodString>;
4025
+ event_action: z.ZodOptional<z.ZodString>;
4026
+ workspace_id: z.ZodOptional<z.ZodString>;
4027
+ }, z.core.$strip>;
4028
+ export declare const ExportAuditEventsInput: z.ZodObject<{
4029
+ max_events: z.ZodOptional<z.ZodNumber>;
4030
+ cursor: z.ZodOptional<z.ZodString>;
4031
+ from: z.ZodOptional<z.ZodString>;
4032
+ to: z.ZodOptional<z.ZodString>;
4033
+ actor: z.ZodOptional<z.ZodString>;
4034
+ event_action: z.ZodOptional<z.ZodString>;
4035
+ workspace_id: z.ZodOptional<z.ZodString>;
4036
+ }, z.core.$strip>;
4037
+ export declare const AuditEventOut: z.ZodObject<{
4038
+ event_id: z.ZodString;
4039
+ at: z.ZodString;
4040
+ workspace_id: z.ZodNullable<z.ZodString>;
4041
+ source: z.ZodEnum<{
4042
+ organization: "organization";
4043
+ workspace: "workspace";
4044
+ }>;
4045
+ actor_type: z.ZodEnum<{
4046
+ scim: "scim";
4047
+ system: "system";
4048
+ oauth: "oauth";
4049
+ person: "person";
4050
+ service_account: "service_account";
4051
+ api_key: "api_key";
4052
+ }>;
4053
+ actor_id: z.ZodNullable<z.ZodString>;
4054
+ actor_name: z.ZodNullable<z.ZodString>;
4055
+ action: z.ZodString;
4056
+ subject: z.ZodString;
4057
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4058
+ ip: z.ZodNullable<z.ZodString>;
4059
+ }, z.core.$strip>;
4060
+ export type AuditEventOut = z.infer<typeof AuditEventOut>;
4061
+ export declare const ListAuditEventsOutput: z.ZodObject<{
4062
+ events: z.ZodArray<z.ZodObject<{
4063
+ event_id: z.ZodString;
4064
+ at: z.ZodString;
4065
+ workspace_id: z.ZodNullable<z.ZodString>;
4066
+ source: z.ZodEnum<{
4067
+ organization: "organization";
4068
+ workspace: "workspace";
4069
+ }>;
4070
+ actor_type: z.ZodEnum<{
4071
+ scim: "scim";
4072
+ system: "system";
4073
+ oauth: "oauth";
4074
+ person: "person";
4075
+ service_account: "service_account";
4076
+ api_key: "api_key";
4077
+ }>;
4078
+ actor_id: z.ZodNullable<z.ZodString>;
4079
+ actor_name: z.ZodNullable<z.ZodString>;
4080
+ action: z.ZodString;
4081
+ subject: z.ZodString;
4082
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4083
+ ip: z.ZodNullable<z.ZodString>;
4084
+ }, z.core.$strip>>;
4085
+ next_cursor: z.ZodNullable<z.ZodString>;
4086
+ }, z.core.$strip>;
4087
+ export declare const ExportAuditEventsOutput: z.ZodObject<{
4088
+ jsonl: z.ZodString;
4089
+ events: z.ZodNumber;
4090
+ resume_cursor: z.ZodNullable<z.ZodString>;
4091
+ }, z.core.$strip>;
4092
+ export declare const ScimStatusOutput: z.ZodObject<{
4093
+ base_url: z.ZodString;
4094
+ default_role: z.ZodString;
4095
+ default_workspace_id: z.ZodNullable<z.ZodString>;
4096
+ provisioned_people: z.ZodNumber;
4097
+ active_people: z.ZodNumber;
4098
+ groups: z.ZodNumber;
4099
+ tokens: z.ZodArray<z.ZodObject<{
4100
+ token_id: z.ZodString;
4101
+ label: z.ZodString;
4102
+ prefix: z.ZodString;
4103
+ created_at: z.ZodString;
4104
+ expires_at: z.ZodNullable<z.ZodString>;
4105
+ last_used_at: z.ZodNullable<z.ZodString>;
4106
+ }, z.core.$strip>>;
4107
+ }, z.core.$strip>;
4108
+ export declare const MemberSessionsInput: z.ZodObject<{
4109
+ user_id: z.ZodString;
4110
+ }, z.core.$strip>;
4111
+ export declare const MemberSessionsOutput: z.ZodObject<{
4112
+ user_id: z.ZodString;
4113
+ sessions: z.ZodArray<z.ZodObject<{
4114
+ session_id: z.ZodString;
4115
+ kind: z.ZodEnum<{
4116
+ app: "app";
4117
+ web: "web";
4118
+ }>;
4119
+ label: z.ZodString;
4120
+ country: z.ZodNullable<z.ZodString>;
4121
+ sign_in_method: z.ZodNullable<z.ZodString>;
4122
+ created_at: z.ZodString;
4123
+ last_seen_at: z.ZodNullable<z.ZodString>;
4124
+ }, z.core.$strip>>;
4125
+ }, z.core.$strip>;
4126
+ export declare const ServiceAccountOut: z.ZodObject<{
4127
+ service_account_id: z.ZodString;
4128
+ name: z.ZodString;
4129
+ status: z.ZodEnum<{
4130
+ active: "active";
4131
+ disabled: "disabled";
4132
+ }>;
4133
+ workspace_id: z.ZodString;
4134
+ workspace_name: z.ZodString;
4135
+ scopes: z.ZodArray<z.ZodString>;
4136
+ cap_daily_credits: z.ZodNumber;
4137
+ cap_per_question_credits: z.ZodNullable<z.ZodNumber>;
4138
+ spent_today_credits: z.ZodNumber;
4139
+ client_id: z.ZodString;
4140
+ auth_method: z.ZodEnum<{
4141
+ client_secret: "client_secret";
4142
+ private_key_jwt: "private_key_jwt";
4143
+ }>;
4144
+ live_secrets: z.ZodNumber;
4145
+ last_used_at: z.ZodNullable<z.ZodString>;
4146
+ created_at: z.ZodString;
4147
+ created_by: z.ZodNullable<z.ZodString>;
4148
+ }, z.core.$strip>;
4149
+ export type ServiceAccountOut = z.infer<typeof ServiceAccountOut>;
4150
+ export declare const ListServiceAccountsOutput: z.ZodObject<{
4151
+ service_accounts: z.ZodArray<z.ZodObject<{
4152
+ service_account_id: z.ZodString;
4153
+ name: z.ZodString;
4154
+ status: z.ZodEnum<{
4155
+ active: "active";
4156
+ disabled: "disabled";
4157
+ }>;
4158
+ workspace_id: z.ZodString;
4159
+ workspace_name: z.ZodString;
4160
+ scopes: z.ZodArray<z.ZodString>;
4161
+ cap_daily_credits: z.ZodNumber;
4162
+ cap_per_question_credits: z.ZodNullable<z.ZodNumber>;
4163
+ spent_today_credits: z.ZodNumber;
4164
+ client_id: z.ZodString;
4165
+ auth_method: z.ZodEnum<{
4166
+ client_secret: "client_secret";
4167
+ private_key_jwt: "private_key_jwt";
4168
+ }>;
4169
+ live_secrets: z.ZodNumber;
4170
+ last_used_at: z.ZodNullable<z.ZodString>;
4171
+ created_at: z.ZodString;
4172
+ created_by: z.ZodNullable<z.ZodString>;
4173
+ }, z.core.$strip>>;
4174
+ }, z.core.$strip>;