@gentiq/core 1.0.0-alpha.1 → 1.0.0-alpha.10

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.
@@ -264,6 +264,7 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
264
264
  app_name?: string | null;
265
265
  app_version: string | null;
266
266
  attachments: components["schemas"]["AttachmentLimits"];
267
+ auth_page_enabled?: boolean | null;
267
268
  composer_attachments?: boolean | null;
268
269
  composer_voice?: boolean | null;
269
270
  credits_meter?: ("messages" | "tokens" | "cost") | null;
@@ -273,8 +274,6 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
273
274
  default_plan_key?: string | null;
274
275
  default_radius?: string | null;
275
276
  default_theme?: ("system" | "light" | "dark") | null;
276
- disable_auth_page?: boolean | null;
277
- disable_signup?: boolean | null;
278
277
  disclaimer?: string | null;
279
278
  header_actions?: {
280
279
  [key: string]: boolean;
@@ -286,7 +285,6 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
286
285
  history_show_share?: boolean | null;
287
286
  language?: string | null;
288
287
  language_locked?: boolean | null;
289
- loader_variant?: ("dots" | "orb" | "triangle" | "cross" | "comet" | "aurora") | null;
290
288
  login_fields: ("username" | "email" | "phone")[];
291
289
  maintenance: components["schemas"]["MaintenanceNotice"];
292
290
  plugins: string[];
@@ -296,6 +294,10 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
296
294
  [key: string]: string;
297
295
  };
298
296
  settings_account_mode?: string | null;
297
+ settings_general_fields?: {
298
+ [key: string]: string;
299
+ };
300
+ settings_general_mode?: string | null;
299
301
  settings_profile_fields?: {
300
302
  [key: string]: string;
301
303
  };
@@ -306,13 +308,16 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
306
308
  show_usage_bar?: boolean | null;
307
309
  show_usage_details?: boolean | null;
308
310
  show_version_in_settings?: boolean | null;
309
- theme_locked?: boolean | null;
311
+ show_welcome_glow?: boolean | null;
312
+ signup_enabled?: boolean | null;
313
+ thread_actions_edit?: boolean | null;
310
314
  thread_actions_feedback?: boolean | null;
311
315
  thread_actions_retry?: boolean | null;
312
316
  translations?: {
313
317
  [key: string]: unknown;
314
318
  };
315
319
  updated_at?: string | null;
320
+ user_bubble_accent?: boolean | null;
316
321
  voice_input?: boolean;
317
322
  voice_input_formats?: string[] | null;
318
323
  week_start?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday") | null;
@@ -323,6 +328,18 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
323
328
  getStatus: (signal?: AbortSignal) => Promise<{
324
329
  maintenance: components["schemas"]["MaintenanceNotice"];
325
330
  }>;
331
+ /** Submit a bug report, feature request or general feedback from the signed-in user. */
332
+ submitUserReport: (data: UserReportInput, signal?: AbortSignal) => Promise<{
333
+ attachment_filename?: string | null;
334
+ attachment_id?: string | null;
335
+ attachment_media_type?: string | null;
336
+ category: "bug" | "feature" | "other";
337
+ created_at: string;
338
+ description: string;
339
+ id: string;
340
+ status: "open" | "resolved";
341
+ subject: string;
342
+ }>;
326
343
  };
327
344
 
328
345
  /**
@@ -514,15 +531,6 @@ export declare interface components {
514
531
  */
515
532
  via: "resolver" | "subscription" | "credits" | "default";
516
533
  };
517
- /** ActiveUser */
518
- ActiveUser: {
519
- /** Name */
520
- name: string;
521
- /** Thread Count */
522
- thread_count: number;
523
- /** User Id */
524
- user_id: string;
525
- };
526
534
  /** AdminCreated */
527
535
  AdminCreated: {
528
536
  /** Admin Id */
@@ -744,6 +752,73 @@ export declare interface components {
744
752
  /** Username */
745
753
  username: string;
746
754
  };
755
+ /** AdminReportList */
756
+ AdminReportList: {
757
+ /** Count */
758
+ count: number;
759
+ /** Open Count */
760
+ open_count: number;
761
+ /** Reports */
762
+ reports: components["schemas"]["AdminReportRow"][];
763
+ };
764
+ /** AdminReportRow */
765
+ AdminReportRow: {
766
+ /** Attachment Filename */
767
+ attachment_filename?: string | null;
768
+ /** Attachment Id */
769
+ attachment_id?: string | null;
770
+ /** Attachment Media Type */
771
+ attachment_media_type?: string | null;
772
+ /**
773
+ * Category
774
+ * @enum {string}
775
+ */
776
+ category: "bug" | "feature" | "other";
777
+ /**
778
+ * Created At
779
+ * Format: date-time
780
+ */
781
+ created_at: string;
782
+ /** Description */
783
+ description: string;
784
+ /** Id */
785
+ id: string;
786
+ /**
787
+ * Status
788
+ * @enum {string}
789
+ */
790
+ status: "open" | "resolved";
791
+ /** Subject */
792
+ subject: string;
793
+ /** Updated At */
794
+ updated_at?: string | null;
795
+ user?: components["schemas"]["AdminReportUser"] | null;
796
+ /** User Id */
797
+ user_id: string;
798
+ };
799
+ /** AdminReportUpdateInput */
800
+ AdminReportUpdateInput: {
801
+ /**
802
+ * Status
803
+ * @enum {string}
804
+ */
805
+ status: "open" | "resolved";
806
+ };
807
+ /** AdminReportUser */
808
+ AdminReportUser: {
809
+ /** Email */
810
+ email?: string | null;
811
+ /** Id */
812
+ id: string;
813
+ /** Name */
814
+ name: string;
815
+ /** Phone */
816
+ phone?: string | null;
817
+ /** Surname */
818
+ surname?: string | null;
819
+ /** Username */
820
+ username?: string | null;
821
+ };
747
822
  /**
748
823
  * AdminSession
749
824
  * @description The signed-in admin as the store holds it now, not as the token described it.
@@ -1015,16 +1090,42 @@ export declare interface components {
1015
1090
  };
1016
1091
  /** Analytics */
1017
1092
  Analytics: {
1018
- /** Active Users */
1019
- active_users: components["schemas"]["ActiveUser"][];
1020
- distributions: components["schemas"]["AnalyticsDistributions"];
1021
1093
  overview: components["schemas"]["AnalyticsOverview"];
1022
1094
  trends: components["schemas"]["AnalyticsTrends"];
1023
1095
  };
1024
- /** AnalyticsDistributions */
1025
- AnalyticsDistributions: {
1026
- /** Feedback Sentiment */
1027
- feedback_sentiment: components["schemas"]["SentimentCount"][];
1096
+ /** AnalyticsEngagement */
1097
+ AnalyticsEngagement: {
1098
+ /** Active Days */
1099
+ active_days: components["schemas"]["CountBin"][];
1100
+ /** Daily */
1101
+ daily: components["schemas"]["EngagementDay"][];
1102
+ /** Growth */
1103
+ growth: components["schemas"]["GrowthBucket"][];
1104
+ /** Heatmap */
1105
+ heatmap: number[][];
1106
+ /** Hourly */
1107
+ hourly?: components["schemas"]["EngagementHour"][] | null;
1108
+ /** Levels */
1109
+ levels: {
1110
+ [key: string]: number;
1111
+ };
1112
+ /** Matrix */
1113
+ matrix: {
1114
+ [key: string]: {
1115
+ [key: string]: number;
1116
+ };
1117
+ };
1118
+ medians: components["schemas"]["EngagementMedians"];
1119
+ period: components["schemas"]["EngagementPeriod"];
1120
+ rates: components["schemas"]["EngagementRates"];
1121
+ /** Recency */
1122
+ recency: components["schemas"]["CountBin"][];
1123
+ /** Stages */
1124
+ stages: {
1125
+ [key: string]: number;
1126
+ };
1127
+ thresholds: components["schemas"]["EngagementThresholds"];
1128
+ totals: components["schemas"]["EngagementTotals"];
1028
1129
  };
1029
1130
  /** AnalyticsOverview */
1030
1131
  AnalyticsOverview: {
@@ -1047,6 +1148,8 @@ export declare interface components {
1047
1148
  };
1048
1149
  /** AnalyticsTrends */
1049
1150
  AnalyticsTrends: {
1151
+ /** Feedback */
1152
+ feedback: components["schemas"]["FeedbackDay"][];
1050
1153
  /** Messages */
1051
1154
  messages: components["schemas"]["DateCount"][];
1052
1155
  /** Threads */
@@ -1056,6 +1159,25 @@ export declare interface components {
1056
1159
  /** Users */
1057
1160
  users: components["schemas"]["DateCount"][];
1058
1161
  };
1162
+ /** AnalyticsTrendsDetail */
1163
+ AnalyticsTrendsDetail: {
1164
+ clients: components["schemas"]["ClientBreakdown"];
1165
+ /** Currency */
1166
+ currency: string;
1167
+ /** Daily */
1168
+ daily: components["schemas"]["TrendDayPoint"][];
1169
+ /** Plans */
1170
+ plans: components["schemas"]["PlanTierSummary"][];
1171
+ };
1172
+ /** AnalyticsUsageLimits */
1173
+ AnalyticsUsageLimits: {
1174
+ /** Buckets */
1175
+ buckets: number[];
1176
+ /** Currency */
1177
+ currency: string;
1178
+ /** Plans */
1179
+ plans: components["schemas"]["PlanUsageView"][];
1180
+ };
1059
1181
  /** ApiKeyCreateInput */
1060
1182
  ApiKeyCreateInput: {
1061
1183
  /** Expires At */
@@ -1137,6 +1259,8 @@ export declare interface components {
1137
1259
  admin_title?: string | null;
1138
1260
  /** App Name */
1139
1261
  app_name?: string | null;
1262
+ /** Auth Page Enabled */
1263
+ auth_page_enabled?: boolean | null;
1140
1264
  /** Composer Attachments */
1141
1265
  composer_attachments?: boolean | null;
1142
1266
  /** Composer Voice */
@@ -1155,10 +1279,6 @@ export declare interface components {
1155
1279
  default_radius?: string | null;
1156
1280
  /** Default Theme */
1157
1281
  default_theme?: ("system" | "light" | "dark") | null;
1158
- /** Disable Auth Page */
1159
- disable_auth_page?: boolean | null;
1160
- /** Disable Signup */
1161
- disable_signup?: boolean | null;
1162
1282
  /** Disclaimer */
1163
1283
  disclaimer?: string | null;
1164
1284
  /** Header Actions */
@@ -1179,8 +1299,6 @@ export declare interface components {
1179
1299
  language?: string | null;
1180
1300
  /** Language Locked */
1181
1301
  language_locked?: boolean | null;
1182
- /** Loader Variant */
1183
- loader_variant?: ("dots" | "orb" | "triangle" | "cross" | "comet" | "aurora") | null;
1184
1302
  /** Quota Calendar */
1185
1303
  quota_calendar?: ("gregorian" | "persian") | null;
1186
1304
  /** Quota Timezone */
@@ -1191,6 +1309,12 @@ export declare interface components {
1191
1309
  };
1192
1310
  /** Settings Account Mode */
1193
1311
  settings_account_mode?: string | null;
1312
+ /** Settings General Fields */
1313
+ settings_general_fields?: {
1314
+ [key: string]: string;
1315
+ };
1316
+ /** Settings General Mode */
1317
+ settings_general_mode?: string | null;
1194
1318
  /** Settings Profile Fields */
1195
1319
  settings_profile_fields?: {
1196
1320
  [key: string]: string;
@@ -1209,8 +1333,12 @@ export declare interface components {
1209
1333
  show_usage_details?: boolean | null;
1210
1334
  /** Show Version In Settings */
1211
1335
  show_version_in_settings?: boolean | null;
1212
- /** Theme Locked */
1213
- theme_locked?: boolean | null;
1336
+ /** Show Welcome Glow */
1337
+ show_welcome_glow?: boolean | null;
1338
+ /** Signup Enabled */
1339
+ signup_enabled?: boolean | null;
1340
+ /** Thread Actions Edit */
1341
+ thread_actions_edit?: boolean | null;
1214
1342
  /** Thread Actions Feedback */
1215
1343
  thread_actions_feedback?: boolean | null;
1216
1344
  /** Thread Actions Retry */
@@ -1221,6 +1349,8 @@ export declare interface components {
1221
1349
  };
1222
1350
  /** Updated At */
1223
1351
  updated_at?: string | null;
1352
+ /** User Bubble Accent */
1353
+ user_bubble_accent?: boolean | null;
1224
1354
  /** Week Start */
1225
1355
  week_start?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday") | null;
1226
1356
  /** Welcome Greeting */
@@ -1234,6 +1364,8 @@ export declare interface components {
1234
1364
  admin_title?: string | null;
1235
1365
  /** App Name */
1236
1366
  app_name?: string | null;
1367
+ /** Auth Page Enabled */
1368
+ auth_page_enabled?: boolean | null;
1237
1369
  /** Composer Attachments */
1238
1370
  composer_attachments?: boolean | null;
1239
1371
  /** Composer Voice */
@@ -1252,10 +1384,6 @@ export declare interface components {
1252
1384
  default_radius?: string | null;
1253
1385
  /** Default Theme */
1254
1386
  default_theme?: ("system" | "light" | "dark") | null;
1255
- /** Disable Auth Page */
1256
- disable_auth_page?: boolean | null;
1257
- /** Disable Signup */
1258
- disable_signup?: boolean | null;
1259
1387
  /** Disclaimer */
1260
1388
  disclaimer?: string | null;
1261
1389
  /** Header Actions */
@@ -1276,8 +1404,6 @@ export declare interface components {
1276
1404
  language?: string | null;
1277
1405
  /** Language Locked */
1278
1406
  language_locked?: boolean | null;
1279
- /** Loader Variant */
1280
- loader_variant?: ("dots" | "orb" | "triangle" | "cross" | "comet" | "aurora") | null;
1281
1407
  /** Quota Calendar */
1282
1408
  quota_calendar?: ("gregorian" | "persian") | null;
1283
1409
  /** Quota Timezone */
@@ -1288,6 +1414,12 @@ export declare interface components {
1288
1414
  } | null;
1289
1415
  /** Settings Account Mode */
1290
1416
  settings_account_mode?: string | null;
1417
+ /** Settings General Fields */
1418
+ settings_general_fields?: {
1419
+ [key: string]: string;
1420
+ } | null;
1421
+ /** Settings General Mode */
1422
+ settings_general_mode?: string | null;
1291
1423
  /** Settings Profile Fields */
1292
1424
  settings_profile_fields?: {
1293
1425
  [key: string]: string;
@@ -1306,8 +1438,12 @@ export declare interface components {
1306
1438
  show_usage_details?: boolean | null;
1307
1439
  /** Show Version In Settings */
1308
1440
  show_version_in_settings?: boolean | null;
1309
- /** Theme Locked */
1310
- theme_locked?: boolean | null;
1441
+ /** Show Welcome Glow */
1442
+ show_welcome_glow?: boolean | null;
1443
+ /** Signup Enabled */
1444
+ signup_enabled?: boolean | null;
1445
+ /** Thread Actions Edit */
1446
+ thread_actions_edit?: boolean | null;
1311
1447
  /** Thread Actions Feedback */
1312
1448
  thread_actions_feedback?: boolean | null;
1313
1449
  /** Thread Actions Retry */
@@ -1316,6 +1452,8 @@ export declare interface components {
1316
1452
  translations?: {
1317
1453
  [key: string]: unknown;
1318
1454
  } | null;
1455
+ /** User Bubble Accent */
1456
+ user_bubble_accent?: boolean | null;
1319
1457
  /** Week Start */
1320
1458
  week_start?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday") | null;
1321
1459
  /** Welcome Greeting */
@@ -1629,6 +1767,31 @@ export declare interface components {
1629
1767
  */
1630
1768
  type: "data-choice-question";
1631
1769
  };
1770
+ /** ClientBreakdown */
1771
+ ClientBreakdown: {
1772
+ /** Browsers */
1773
+ browsers: components["schemas"]["ClientCount"][];
1774
+ /** Devices */
1775
+ devices: components["schemas"]["ClientCount"][];
1776
+ /** Os */
1777
+ os: components["schemas"]["ClientCount"][];
1778
+ };
1779
+ /** ClientCount */
1780
+ ClientCount: {
1781
+ /** Count */
1782
+ count: number;
1783
+ /** Key */
1784
+ key: string;
1785
+ };
1786
+ /** CountBin */
1787
+ CountBin: {
1788
+ /** Count */
1789
+ count: number;
1790
+ /** From */
1791
+ from: number;
1792
+ /** To */
1793
+ to: number;
1794
+ };
1632
1795
  /** CreditsGrantInput */
1633
1796
  CreditsGrantInput: {
1634
1797
  /** Amount */
@@ -1729,6 +1892,166 @@ export declare interface components {
1729
1892
  */
1730
1893
  type: "dynamic-tool";
1731
1894
  };
1895
+ /** EngagementDay */
1896
+ EngagementDay: {
1897
+ /** Active */
1898
+ active: number;
1899
+ /** Date */
1900
+ date: string;
1901
+ /** Mau */
1902
+ mau: number;
1903
+ /** New */
1904
+ new: number;
1905
+ /** Sessions */
1906
+ sessions: number;
1907
+ /** Wau */
1908
+ wau: number;
1909
+ };
1910
+ /** EngagementHour */
1911
+ EngagementHour: {
1912
+ /** Active */
1913
+ active: number;
1914
+ /** Hour */
1915
+ hour: number;
1916
+ /** New */
1917
+ new: number;
1918
+ };
1919
+ /** EngagementMedians */
1920
+ EngagementMedians: {
1921
+ /** Days To Second Visit */
1922
+ days_to_second_visit: number | null;
1923
+ /** Gap Days */
1924
+ gap_days: number | null;
1925
+ /** Messages Per Session */
1926
+ messages_per_session: number | null;
1927
+ /** Minutes Per Session */
1928
+ minutes_per_session: number | null;
1929
+ /** Sessions Per User */
1930
+ sessions_per_user: number | null;
1931
+ };
1932
+ /** EngagementPeriod */
1933
+ EngagementPeriod: {
1934
+ /**
1935
+ * Bucket
1936
+ * @enum {string}
1937
+ */
1938
+ bucket: "day" | "week";
1939
+ /** Days */
1940
+ days: number;
1941
+ /** End */
1942
+ end: string;
1943
+ /** Start */
1944
+ start: string;
1945
+ /** Timezone */
1946
+ timezone: string;
1947
+ /**
1948
+ * Week Start
1949
+ * @enum {string}
1950
+ */
1951
+ week_start: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
1952
+ };
1953
+ /** EngagementRates */
1954
+ EngagementRates: {
1955
+ /** Active */
1956
+ active: number | null;
1957
+ /** Came Back */
1958
+ came_back: number | null;
1959
+ /** New */
1960
+ new: number | null;
1961
+ /** Stickiness */
1962
+ stickiness: number | null;
1963
+ };
1964
+ /** EngagementThresholds */
1965
+ EngagementThresholds: {
1966
+ /** Daily Bucket Max Days */
1967
+ daily_bucket_max_days: number;
1968
+ /** Deep Session Messages */
1969
+ deep_session_messages: number;
1970
+ /** Power Days Per Week */
1971
+ power_days_per_week: number;
1972
+ /** Power Min Days */
1973
+ power_min_days: number;
1974
+ /** Quick Session Messages */
1975
+ quick_session_messages: number;
1976
+ /** Regular Days Per Week */
1977
+ regular_days_per_week: number;
1978
+ /** Resurrected Gap Days */
1979
+ resurrected_gap_days: number;
1980
+ /** Session Gap Minutes */
1981
+ session_gap_minutes: number;
1982
+ };
1983
+ /** EngagementTotals */
1984
+ EngagementTotals: {
1985
+ /** Active */
1986
+ active: number;
1987
+ /** Active Days */
1988
+ active_days: number;
1989
+ /** Average Daily */
1990
+ average_daily: number;
1991
+ /** Came Back */
1992
+ came_back: number;
1993
+ /** Messages */
1994
+ messages: number;
1995
+ /** Multi Session */
1996
+ multi_session: number;
1997
+ /** New */
1998
+ new: number;
1999
+ /** Sessions */
2000
+ sessions: number;
2001
+ /** Users */
2002
+ users: number;
2003
+ };
2004
+ /** EngagementUserList */
2005
+ EngagementUserList: {
2006
+ /** Total */
2007
+ total: number;
2008
+ /** Users */
2009
+ users: components["schemas"]["EngagementUserRow"][];
2010
+ };
2011
+ /** EngagementUserRow */
2012
+ EngagementUserRow: {
2013
+ /** Active Days */
2014
+ active_days: number;
2015
+ /** Depth */
2016
+ depth?: ("quick" | "conversational" | "deep") | null;
2017
+ /** Email */
2018
+ email?: string | null;
2019
+ /** External Id */
2020
+ external_id?: string | null;
2021
+ /** Files */
2022
+ files: number;
2023
+ /** First Used At */
2024
+ first_used_at?: string | null;
2025
+ /** Last Active At */
2026
+ last_active_at?: string | null;
2027
+ /** Level */
2028
+ level?: ("power" | "regular" | "casual" | "one_day") | null;
2029
+ /** Messages */
2030
+ messages: number;
2031
+ /** Messages Per Session */
2032
+ messages_per_session?: number | null;
2033
+ /** Name */
2034
+ name: string;
2035
+ /** Phone */
2036
+ phone?: string | null;
2037
+ /** Sessions */
2038
+ sessions: number;
2039
+ /**
2040
+ * Stage
2041
+ * @enum {string}
2042
+ */
2043
+ stage: "new" | "returning" | "resurrected" | "lapsed" | "never";
2044
+ /** Subscription Group */
2045
+ subscription_group?: string | null;
2046
+ /** Surname */
2047
+ surname?: string | null;
2048
+ /** Threads */
2049
+ threads: number;
2050
+ /** User Id */
2051
+ user_id: string;
2052
+ /** Username */
2053
+ username?: string | null;
2054
+ };
1732
2055
  /**
1733
2056
  * EntitlementStatus
1734
2057
  * @description Everything a UI or an integrator needs to explain a user's allowance.
@@ -1801,6 +2124,15 @@ export declare interface components {
1801
2124
  } & {
1802
2125
  [key: string]: unknown;
1803
2126
  };
2127
+ /** FeedbackDay */
2128
+ FeedbackDay: {
2129
+ /** Date */
2130
+ date: string | null;
2131
+ /** Negative */
2132
+ negative: number;
2133
+ /** Positive */
2134
+ positive: number;
2135
+ };
1804
2136
  /**
1805
2137
  * FilePart
1806
2138
  * @description A file. ``attachmentId`` names one the server stores; ``url`` one hosted elsewhere.
@@ -1860,6 +2192,25 @@ export declare interface components {
1860
2192
  /** Groups */
1861
2193
  groups: string[];
1862
2194
  };
2195
+ /** GrowthBucket */
2196
+ GrowthBucket: {
2197
+ /** Active */
2198
+ active: number;
2199
+ /** Churned */
2200
+ churned: number;
2201
+ /** New */
2202
+ new: number;
2203
+ /** Partial */
2204
+ partial: boolean;
2205
+ /** Quick Ratio */
2206
+ quick_ratio: number | null;
2207
+ /** Resurrected */
2208
+ resurrected: number;
2209
+ /** Retained */
2210
+ retained: number;
2211
+ /** Start */
2212
+ start: string;
2213
+ };
1863
2214
  /** Incident */
1864
2215
  Incident: {
1865
2216
  /** Action */
@@ -1995,6 +2346,11 @@ export declare interface components {
1995
2346
  count: number;
1996
2347
  /** Runs */
1997
2348
  runs: components["schemas"]["JobRunView"][];
2349
+ /**
2350
+ * Total
2351
+ * @default 0
2352
+ */
2353
+ total?: number;
1998
2354
  };
1999
2355
  /**
2000
2356
  * JobRunView
@@ -2244,6 +2600,15 @@ export declare interface components {
2244
2600
  /** Total Cost Microunits */
2245
2601
  total_cost_microunits?: number | null;
2246
2602
  };
2603
+ /** Percentiles */
2604
+ Percentiles: {
2605
+ /** P50 */
2606
+ p50: number | null;
2607
+ /** P75 */
2608
+ p75: number | null;
2609
+ /** P90 */
2610
+ p90: number | null;
2611
+ };
2247
2612
  /** PermissionList */
2248
2613
  PermissionList: {
2249
2614
  /** Permissions */
@@ -2314,6 +2679,22 @@ export declare interface components {
2314
2679
  /** Name */
2315
2680
  name: string;
2316
2681
  };
2682
+ /** PlanLimitView */
2683
+ PlanLimitView: {
2684
+ /** Amount */
2685
+ amount: number;
2686
+ /** Every */
2687
+ every: number;
2688
+ /** Id */
2689
+ id: string;
2690
+ /** Meter */
2691
+ meter: string;
2692
+ /**
2693
+ * Per
2694
+ * @enum {string}
2695
+ */
2696
+ per: "minute" | "hour" | "day" | "week" | "month" | "subscription";
2697
+ };
2317
2698
  /** PlanList */
2318
2699
  PlanList: {
2319
2700
  /** Plans */
@@ -2344,6 +2725,52 @@ export declare interface components {
2344
2725
  /** Name */
2345
2726
  name: string;
2346
2727
  };
2728
+ /** PlanTierSummary */
2729
+ PlanTierSummary: {
2730
+ /** Active Users */
2731
+ active_users: number;
2732
+ /** Cost Microunits */
2733
+ cost_microunits: number;
2734
+ /** Daily */
2735
+ daily: components["schemas"]["PlanTrendDayPoint"][];
2736
+ /** Dislikes */
2737
+ dislikes: number;
2738
+ /** Key */
2739
+ key: string;
2740
+ /** Likes */
2741
+ likes: number;
2742
+ /** Messages */
2743
+ messages: number;
2744
+ /** Name */
2745
+ name: string;
2746
+ /** Quota Hits */
2747
+ quota_hits: number;
2748
+ /** Threads Started */
2749
+ threads_started: number;
2750
+ /** Tokens */
2751
+ tokens: number;
2752
+ };
2753
+ /** PlanTrendDayPoint */
2754
+ PlanTrendDayPoint: {
2755
+ /** Active Users */
2756
+ active_users: number;
2757
+ /** Cost Microunits */
2758
+ cost_microunits: number;
2759
+ /** Date */
2760
+ date: string;
2761
+ /** Dislikes */
2762
+ dislikes: number;
2763
+ /** Likes */
2764
+ likes: number;
2765
+ /** Messages */
2766
+ messages: number;
2767
+ /** Quota Hits */
2768
+ quota_hits: number;
2769
+ /** Threads Started */
2770
+ threads_started: number;
2771
+ /** Tokens */
2772
+ tokens: number;
2773
+ };
2347
2774
  /** PlanUpdateInput */
2348
2775
  PlanUpdateInput: {
2349
2776
  /** Archived */
@@ -2360,6 +2787,28 @@ export declare interface components {
2360
2787
  /** Name */
2361
2788
  name?: string | null;
2362
2789
  };
2790
+ /** PlanUsageView */
2791
+ PlanUsageView: {
2792
+ /** Active Users */
2793
+ active_users: number;
2794
+ duration?: components["schemas"]["PlanDuration"] | null;
2795
+ /** Histograms */
2796
+ histograms: {
2797
+ [key: string]: number[];
2798
+ };
2799
+ /** Is Default */
2800
+ is_default: boolean;
2801
+ /** Key */
2802
+ key: string;
2803
+ /** Limit Hits */
2804
+ limit_hits: number;
2805
+ /** Limits */
2806
+ limits: components["schemas"]["PlanLimitView"][];
2807
+ messages_per_active_day: components["schemas"]["Percentiles"];
2808
+ /** Name */
2809
+ name: string;
2810
+ tokens_per_active_day: components["schemas"]["Percentiles"];
2811
+ };
2363
2812
  /** PlanView */
2364
2813
  PlanView: {
2365
2814
  /** Archived */
@@ -2425,6 +2874,8 @@ export declare interface components {
2425
2874
  /** App Version */
2426
2875
  app_version: string | null;
2427
2876
  attachments: components["schemas"]["AttachmentLimits"];
2877
+ /** Auth Page Enabled */
2878
+ auth_page_enabled?: boolean | null;
2428
2879
  /** Composer Attachments */
2429
2880
  composer_attachments?: boolean | null;
2430
2881
  /** Composer Voice */
@@ -2443,10 +2894,6 @@ export declare interface components {
2443
2894
  default_radius?: string | null;
2444
2895
  /** Default Theme */
2445
2896
  default_theme?: ("system" | "light" | "dark") | null;
2446
- /** Disable Auth Page */
2447
- disable_auth_page?: boolean | null;
2448
- /** Disable Signup */
2449
- disable_signup?: boolean | null;
2450
2897
  /** Disclaimer */
2451
2898
  disclaimer?: string | null;
2452
2899
  /** Header Actions */
@@ -2467,8 +2914,6 @@ export declare interface components {
2467
2914
  language?: string | null;
2468
2915
  /** Language Locked */
2469
2916
  language_locked?: boolean | null;
2470
- /** Loader Variant */
2471
- loader_variant?: ("dots" | "orb" | "triangle" | "cross" | "comet" | "aurora") | null;
2472
2917
  /** Login Fields */
2473
2918
  login_fields: ("username" | "email" | "phone")[];
2474
2919
  maintenance: components["schemas"]["MaintenanceNotice"];
@@ -2484,6 +2929,12 @@ export declare interface components {
2484
2929
  };
2485
2930
  /** Settings Account Mode */
2486
2931
  settings_account_mode?: string | null;
2932
+ /** Settings General Fields */
2933
+ settings_general_fields?: {
2934
+ [key: string]: string;
2935
+ };
2936
+ /** Settings General Mode */
2937
+ settings_general_mode?: string | null;
2487
2938
  /** Settings Profile Fields */
2488
2939
  settings_profile_fields?: {
2489
2940
  [key: string]: string;
@@ -2502,8 +2953,12 @@ export declare interface components {
2502
2953
  show_usage_details?: boolean | null;
2503
2954
  /** Show Version In Settings */
2504
2955
  show_version_in_settings?: boolean | null;
2505
- /** Theme Locked */
2506
- theme_locked?: boolean | null;
2956
+ /** Show Welcome Glow */
2957
+ show_welcome_glow?: boolean | null;
2958
+ /** Signup Enabled */
2959
+ signup_enabled?: boolean | null;
2960
+ /** Thread Actions Edit */
2961
+ thread_actions_edit?: boolean | null;
2507
2962
  /** Thread Actions Feedback */
2508
2963
  thread_actions_feedback?: boolean | null;
2509
2964
  /** Thread Actions Retry */
@@ -2514,6 +2969,8 @@ export declare interface components {
2514
2969
  };
2515
2970
  /** Updated At */
2516
2971
  updated_at?: string | null;
2972
+ /** User Bubble Accent */
2973
+ user_bubble_accent?: boolean | null;
2517
2974
  /**
2518
2975
  * Voice Input
2519
2976
  * @default false
@@ -2714,13 +3171,6 @@ export declare interface components {
2714
3171
  [key: string]: unknown;
2715
3172
  };
2716
3173
  };
2717
- /** SentimentCount */
2718
- SentimentCount: {
2719
- /** Count */
2720
- count: number;
2721
- /** Sentiment */
2722
- sentiment: string | null;
2723
- };
2724
3174
  /** SessionInput */
2725
3175
  SessionInput: {
2726
3176
  /** Redirect Path */
@@ -3357,6 +3807,33 @@ export declare interface components {
3357
3807
  /** Text */
3358
3808
  text: string;
3359
3809
  };
3810
+ /** TrendDayPoint */
3811
+ TrendDayPoint: {
3812
+ /** Active Users */
3813
+ active_users: number;
3814
+ /** Cost Microunits */
3815
+ cost_microunits: number;
3816
+ /** Date */
3817
+ date: string;
3818
+ /** Dislikes */
3819
+ dislikes: number;
3820
+ /** Likes */
3821
+ likes: number;
3822
+ /** Messages */
3823
+ messages: number;
3824
+ /** New Users */
3825
+ new_users: number;
3826
+ /** Quota Hits */
3827
+ quota_hits: number;
3828
+ /** Threads Started */
3829
+ threads_started: number;
3830
+ /** Tokens */
3831
+ tokens: number;
3832
+ /** Turns Completed */
3833
+ turns_completed: number;
3834
+ /** Turns Failed */
3835
+ turns_failed: number;
3836
+ };
3360
3837
  /**
3361
3838
  * TurnData
3362
3839
  * @description The turn being streamed, which ``GET /chat/threads/{thread_id}/turns/{turn_id}/stream`` reconnects to.
@@ -3564,6 +4041,50 @@ export declare interface components {
3564
4041
  /** Username */
3565
4042
  username: string | null;
3566
4043
  };
4044
+ /** UserReportCreateInput */
4045
+ UserReportCreateInput: {
4046
+ /** Attachment Id */
4047
+ attachment_id?: string | null;
4048
+ /**
4049
+ * Category
4050
+ * @enum {string}
4051
+ */
4052
+ category: "bug" | "feature" | "other";
4053
+ /** Description */
4054
+ description: string;
4055
+ /** Subject */
4056
+ subject: string;
4057
+ };
4058
+ /** UserReportResponse */
4059
+ UserReportResponse: {
4060
+ /** Attachment Filename */
4061
+ attachment_filename?: string | null;
4062
+ /** Attachment Id */
4063
+ attachment_id?: string | null;
4064
+ /** Attachment Media Type */
4065
+ attachment_media_type?: string | null;
4066
+ /**
4067
+ * Category
4068
+ * @enum {string}
4069
+ */
4070
+ category: "bug" | "feature" | "other";
4071
+ /**
4072
+ * Created At
4073
+ * Format: date-time
4074
+ */
4075
+ created_at: string;
4076
+ /** Description */
4077
+ description: string;
4078
+ /** Id */
4079
+ id: string;
4080
+ /**
4081
+ * Status
4082
+ * @enum {string}
4083
+ */
4084
+ status: "open" | "resolved";
4085
+ /** Subject */
4086
+ subject: string;
4087
+ };
3567
4088
  /** UserUpdateInput */
3568
4089
  UserUpdateInput: {
3569
4090
  /** Email */
@@ -4209,6 +4730,13 @@ declare interface operations {
4209
4730
  query?: {
4210
4731
  days?: number;
4211
4732
  source?: "human" | "service" | "all";
4733
+ user_ids?: string[] | null;
4734
+ plan_keys?: string[] | null;
4735
+ groups?: string[] | null;
4736
+ metadata?: string | null;
4737
+ external_user_id?: string | null;
4738
+ date_from?: string | null;
4739
+ date_to?: string | null;
4212
4740
  };
4213
4741
  header?: never;
4214
4742
  path?: never;
@@ -4245,9 +4773,19 @@ declare interface operations {
4245
4773
  };
4246
4774
  };
4247
4775
  };
4248
- list_api_keys_api_admin_api_keys_get: {
4776
+ get_analytics_engagement_api_admin_analytics_engagement_get: {
4249
4777
  parameters: {
4250
- query?: never;
4778
+ query?: {
4779
+ days?: number;
4780
+ source?: "human" | "service" | "all";
4781
+ user_ids?: string[] | null;
4782
+ plan_keys?: string[] | null;
4783
+ groups?: string[] | null;
4784
+ metadata?: string | null;
4785
+ external_user_id?: string | null;
4786
+ date_from?: string | null;
4787
+ date_to?: string | null;
4788
+ };
4251
4789
  header?: never;
4252
4790
  path?: never;
4253
4791
  cookie?: never;
@@ -4260,7 +4798,7 @@ declare interface operations {
4260
4798
  [name: string]: unknown;
4261
4799
  };
4262
4800
  content: {
4263
- "application/json": components["schemas"]["ApiKeyList"];
4801
+ "application/json": components["schemas"]["AnalyticsEngagement"];
4264
4802
  };
4265
4803
  };
4266
4804
  /** @description Client Error */
@@ -4283,26 +4821,37 @@ declare interface operations {
4283
4821
  };
4284
4822
  };
4285
4823
  };
4286
- create_api_key_api_admin_api_keys_post: {
4824
+ get_analytics_engagement_users_api_admin_analytics_engagement_users_get: {
4287
4825
  parameters: {
4288
- query?: never;
4826
+ query?: {
4827
+ days?: number;
4828
+ source?: "human" | "service" | "all";
4829
+ user_ids?: string[] | null;
4830
+ plan_keys?: string[] | null;
4831
+ groups?: string[] | null;
4832
+ metadata?: string | null;
4833
+ external_user_id?: string | null;
4834
+ date_from?: string | null;
4835
+ date_to?: string | null;
4836
+ stage?: ("new" | "returning" | "resurrected" | "lapsed" | "never") | null;
4837
+ level?: ("power" | "regular" | "casual" | "one_day") | null;
4838
+ depth?: ("quick" | "conversational" | "deep") | null;
4839
+ skip?: number;
4840
+ limit?: number;
4841
+ };
4289
4842
  header?: never;
4290
4843
  path?: never;
4291
4844
  cookie?: never;
4292
4845
  };
4293
- requestBody: {
4294
- content: {
4295
- "application/json": components["schemas"]["ApiKeyCreateInput"];
4296
- };
4297
- };
4846
+ requestBody?: never;
4298
4847
  responses: {
4299
4848
  /** @description Successful Response */
4300
- 201: {
4849
+ 200: {
4301
4850
  headers: {
4302
4851
  [name: string]: unknown;
4303
4852
  };
4304
4853
  content: {
4305
- "application/json": components["schemas"]["ApiKeyCreated"];
4854
+ "application/json": components["schemas"]["EngagementUserList"];
4306
4855
  };
4307
4856
  };
4308
4857
  /** @description Client Error */
@@ -4325,12 +4874,403 @@ declare interface operations {
4325
4874
  };
4326
4875
  };
4327
4876
  };
4328
- revoke_api_key_api_admin_api_keys__key_id__revoke_post: {
4877
+ export_analytics_engagement_users_api_admin_analytics_engagement_users_export_csv_get: {
4329
4878
  parameters: {
4330
- query?: never;
4331
- header?: never;
4332
- path: {
4333
- key_id: string;
4879
+ query?: {
4880
+ days?: number;
4881
+ source?: "human" | "service" | "all";
4882
+ user_ids?: string[] | null;
4883
+ plan_keys?: string[] | null;
4884
+ groups?: string[] | null;
4885
+ metadata?: string | null;
4886
+ external_user_id?: string | null;
4887
+ date_from?: string | null;
4888
+ date_to?: string | null;
4889
+ stage?: ("new" | "returning" | "resurrected" | "lapsed" | "never") | null;
4890
+ level?: ("power" | "regular" | "casual" | "one_day") | null;
4891
+ depth?: ("quick" | "conversational" | "deep") | null;
4892
+ };
4893
+ header?: never;
4894
+ path?: never;
4895
+ cookie?: never;
4896
+ };
4897
+ requestBody?: never;
4898
+ responses: {
4899
+ /** @description Successful Response */
4900
+ 200: {
4901
+ headers: {
4902
+ [name: string]: unknown;
4903
+ };
4904
+ content?: never;
4905
+ };
4906
+ /** @description Client Error */
4907
+ "4XX": {
4908
+ headers: {
4909
+ [name: string]: unknown;
4910
+ };
4911
+ content: {
4912
+ "application/json": components["schemas"]["ErrorResponse"];
4913
+ };
4914
+ };
4915
+ /** @description Server Error */
4916
+ "5XX": {
4917
+ headers: {
4918
+ [name: string]: unknown;
4919
+ };
4920
+ content: {
4921
+ "application/json": components["schemas"]["ErrorResponse"];
4922
+ };
4923
+ };
4924
+ };
4925
+ };
4926
+ analytics_filter_options_api_admin_analytics_filter_options_get: {
4927
+ parameters: {
4928
+ query?: never;
4929
+ header?: never;
4930
+ path?: never;
4931
+ cookie?: never;
4932
+ };
4933
+ requestBody?: never;
4934
+ responses: {
4935
+ /** @description Successful Response */
4936
+ 200: {
4937
+ headers: {
4938
+ [name: string]: unknown;
4939
+ };
4940
+ content: {
4941
+ "application/json": components["schemas"]["FilterOptions"];
4942
+ };
4943
+ };
4944
+ /** @description Client Error */
4945
+ "4XX": {
4946
+ headers: {
4947
+ [name: string]: unknown;
4948
+ };
4949
+ content: {
4950
+ "application/json": components["schemas"]["ErrorResponse"];
4951
+ };
4952
+ };
4953
+ /** @description Server Error */
4954
+ "5XX": {
4955
+ headers: {
4956
+ [name: string]: unknown;
4957
+ };
4958
+ content: {
4959
+ "application/json": components["schemas"]["ErrorResponse"];
4960
+ };
4961
+ };
4962
+ };
4963
+ };
4964
+ search_analytics_groups_api_admin_analytics_groups_get: {
4965
+ parameters: {
4966
+ query?: {
4967
+ query?: string;
4968
+ limit?: number;
4969
+ };
4970
+ header?: never;
4971
+ path?: never;
4972
+ cookie?: never;
4973
+ };
4974
+ requestBody?: never;
4975
+ responses: {
4976
+ /** @description Successful Response */
4977
+ 200: {
4978
+ headers: {
4979
+ [name: string]: unknown;
4980
+ };
4981
+ content: {
4982
+ "application/json": components["schemas"]["GroupList"];
4983
+ };
4984
+ };
4985
+ /** @description Client Error */
4986
+ "4XX": {
4987
+ headers: {
4988
+ [name: string]: unknown;
4989
+ };
4990
+ content: {
4991
+ "application/json": components["schemas"]["ErrorResponse"];
4992
+ };
4993
+ };
4994
+ /** @description Server Error */
4995
+ "5XX": {
4996
+ headers: {
4997
+ [name: string]: unknown;
4998
+ };
4999
+ content: {
5000
+ "application/json": components["schemas"]["ErrorResponse"];
5001
+ };
5002
+ };
5003
+ };
5004
+ };
5005
+ get_analytics_trends_api_admin_analytics_trends_get: {
5006
+ parameters: {
5007
+ query?: {
5008
+ days?: number;
5009
+ source?: "human" | "service" | "all";
5010
+ user_ids?: string[] | null;
5011
+ plan_keys?: string[] | null;
5012
+ groups?: string[] | null;
5013
+ metadata?: string | null;
5014
+ external_user_id?: string | null;
5015
+ date_from?: string | null;
5016
+ date_to?: string | null;
5017
+ };
5018
+ header?: never;
5019
+ path?: never;
5020
+ cookie?: never;
5021
+ };
5022
+ requestBody?: never;
5023
+ responses: {
5024
+ /** @description Successful Response */
5025
+ 200: {
5026
+ headers: {
5027
+ [name: string]: unknown;
5028
+ };
5029
+ content: {
5030
+ "application/json": components["schemas"]["AnalyticsTrendsDetail"];
5031
+ };
5032
+ };
5033
+ /** @description Client Error */
5034
+ "4XX": {
5035
+ headers: {
5036
+ [name: string]: unknown;
5037
+ };
5038
+ content: {
5039
+ "application/json": components["schemas"]["ErrorResponse"];
5040
+ };
5041
+ };
5042
+ /** @description Server Error */
5043
+ "5XX": {
5044
+ headers: {
5045
+ [name: string]: unknown;
5046
+ };
5047
+ content: {
5048
+ "application/json": components["schemas"]["ErrorResponse"];
5049
+ };
5050
+ };
5051
+ };
5052
+ };
5053
+ export_analytics_trends_api_admin_analytics_trends_export_csv_get: {
5054
+ parameters: {
5055
+ query?: {
5056
+ days?: number;
5057
+ source?: "human" | "service" | "all";
5058
+ user_ids?: string[] | null;
5059
+ plan_keys?: string[] | null;
5060
+ groups?: string[] | null;
5061
+ metadata?: string | null;
5062
+ external_user_id?: string | null;
5063
+ date_from?: string | null;
5064
+ date_to?: string | null;
5065
+ };
5066
+ header?: never;
5067
+ path?: never;
5068
+ cookie?: never;
5069
+ };
5070
+ requestBody?: never;
5071
+ responses: {
5072
+ /** @description Successful Response */
5073
+ 200: {
5074
+ headers: {
5075
+ [name: string]: unknown;
5076
+ };
5077
+ content?: never;
5078
+ };
5079
+ /** @description Client Error */
5080
+ "4XX": {
5081
+ headers: {
5082
+ [name: string]: unknown;
5083
+ };
5084
+ content: {
5085
+ "application/json": components["schemas"]["ErrorResponse"];
5086
+ };
5087
+ };
5088
+ /** @description Server Error */
5089
+ "5XX": {
5090
+ headers: {
5091
+ [name: string]: unknown;
5092
+ };
5093
+ content: {
5094
+ "application/json": components["schemas"]["ErrorResponse"];
5095
+ };
5096
+ };
5097
+ };
5098
+ };
5099
+ get_analytics_usage_limits_api_admin_analytics_usage_get: {
5100
+ parameters: {
5101
+ query?: {
5102
+ days?: number;
5103
+ source?: "human" | "service" | "all";
5104
+ user_ids?: string[] | null;
5105
+ plan_keys?: string[] | null;
5106
+ groups?: string[] | null;
5107
+ metadata?: string | null;
5108
+ external_user_id?: string | null;
5109
+ date_from?: string | null;
5110
+ date_to?: string | null;
5111
+ };
5112
+ header?: never;
5113
+ path?: never;
5114
+ cookie?: never;
5115
+ };
5116
+ requestBody?: never;
5117
+ responses: {
5118
+ /** @description Successful Response */
5119
+ 200: {
5120
+ headers: {
5121
+ [name: string]: unknown;
5122
+ };
5123
+ content: {
5124
+ "application/json": components["schemas"]["AnalyticsUsageLimits"];
5125
+ };
5126
+ };
5127
+ /** @description Client Error */
5128
+ "4XX": {
5129
+ headers: {
5130
+ [name: string]: unknown;
5131
+ };
5132
+ content: {
5133
+ "application/json": components["schemas"]["ErrorResponse"];
5134
+ };
5135
+ };
5136
+ /** @description Server Error */
5137
+ "5XX": {
5138
+ headers: {
5139
+ [name: string]: unknown;
5140
+ };
5141
+ content: {
5142
+ "application/json": components["schemas"]["ErrorResponse"];
5143
+ };
5144
+ };
5145
+ };
5146
+ };
5147
+ search_analytics_users_api_admin_analytics_users_get: {
5148
+ parameters: {
5149
+ query?: {
5150
+ query?: string;
5151
+ limit?: number;
5152
+ };
5153
+ header?: never;
5154
+ path?: never;
5155
+ cookie?: never;
5156
+ };
5157
+ requestBody?: never;
5158
+ responses: {
5159
+ /** @description Successful Response */
5160
+ 200: {
5161
+ headers: {
5162
+ [name: string]: unknown;
5163
+ };
5164
+ content: {
5165
+ "application/json": components["schemas"]["UserOptionList"];
5166
+ };
5167
+ };
5168
+ /** @description Client Error */
5169
+ "4XX": {
5170
+ headers: {
5171
+ [name: string]: unknown;
5172
+ };
5173
+ content: {
5174
+ "application/json": components["schemas"]["ErrorResponse"];
5175
+ };
5176
+ };
5177
+ /** @description Server Error */
5178
+ "5XX": {
5179
+ headers: {
5180
+ [name: string]: unknown;
5181
+ };
5182
+ content: {
5183
+ "application/json": components["schemas"]["ErrorResponse"];
5184
+ };
5185
+ };
5186
+ };
5187
+ };
5188
+ list_api_keys_api_admin_api_keys_get: {
5189
+ parameters: {
5190
+ query?: never;
5191
+ header?: never;
5192
+ path?: never;
5193
+ cookie?: never;
5194
+ };
5195
+ requestBody?: never;
5196
+ responses: {
5197
+ /** @description Successful Response */
5198
+ 200: {
5199
+ headers: {
5200
+ [name: string]: unknown;
5201
+ };
5202
+ content: {
5203
+ "application/json": components["schemas"]["ApiKeyList"];
5204
+ };
5205
+ };
5206
+ /** @description Client Error */
5207
+ "4XX": {
5208
+ headers: {
5209
+ [name: string]: unknown;
5210
+ };
5211
+ content: {
5212
+ "application/json": components["schemas"]["ErrorResponse"];
5213
+ };
5214
+ };
5215
+ /** @description Server Error */
5216
+ "5XX": {
5217
+ headers: {
5218
+ [name: string]: unknown;
5219
+ };
5220
+ content: {
5221
+ "application/json": components["schemas"]["ErrorResponse"];
5222
+ };
5223
+ };
5224
+ };
5225
+ };
5226
+ create_api_key_api_admin_api_keys_post: {
5227
+ parameters: {
5228
+ query?: never;
5229
+ header?: never;
5230
+ path?: never;
5231
+ cookie?: never;
5232
+ };
5233
+ requestBody: {
5234
+ content: {
5235
+ "application/json": components["schemas"]["ApiKeyCreateInput"];
5236
+ };
5237
+ };
5238
+ responses: {
5239
+ /** @description Successful Response */
5240
+ 201: {
5241
+ headers: {
5242
+ [name: string]: unknown;
5243
+ };
5244
+ content: {
5245
+ "application/json": components["schemas"]["ApiKeyCreated"];
5246
+ };
5247
+ };
5248
+ /** @description Client Error */
5249
+ "4XX": {
5250
+ headers: {
5251
+ [name: string]: unknown;
5252
+ };
5253
+ content: {
5254
+ "application/json": components["schemas"]["ErrorResponse"];
5255
+ };
5256
+ };
5257
+ /** @description Server Error */
5258
+ "5XX": {
5259
+ headers: {
5260
+ [name: string]: unknown;
5261
+ };
5262
+ content: {
5263
+ "application/json": components["schemas"]["ErrorResponse"];
5264
+ };
5265
+ };
5266
+ };
5267
+ };
5268
+ revoke_api_key_api_admin_api_keys__key_id__revoke_post: {
5269
+ parameters: {
5270
+ query?: never;
5271
+ header?: never;
5272
+ path: {
5273
+ key_id: string;
4334
5274
  };
4335
5275
  cookie?: never;
4336
5276
  };
@@ -4831,6 +5771,7 @@ declare interface operations {
4831
5771
  parameters: {
4832
5772
  query?: {
4833
5773
  limit?: number;
5774
+ skip?: number;
4834
5775
  kind?: string | null;
4835
5776
  status?: string | null;
4836
5777
  };
@@ -5403,13 +6344,182 @@ declare interface operations {
5403
6344
  };
5404
6345
  };
5405
6346
  responses: {
5406
- /** @description Successful Response */
6347
+ /** @description Successful Response */
6348
+ 200: {
6349
+ headers: {
6350
+ [name: string]: unknown;
6351
+ };
6352
+ content: {
6353
+ "application/json": components["schemas"]["AdminPlanView"];
6354
+ };
6355
+ };
6356
+ /** @description Client Error */
6357
+ "4XX": {
6358
+ headers: {
6359
+ [name: string]: unknown;
6360
+ };
6361
+ content: {
6362
+ "application/json": components["schemas"]["ErrorResponse"];
6363
+ };
6364
+ };
6365
+ /** @description Server Error */
6366
+ "5XX": {
6367
+ headers: {
6368
+ [name: string]: unknown;
6369
+ };
6370
+ content: {
6371
+ "application/json": components["schemas"]["ErrorResponse"];
6372
+ };
6373
+ };
6374
+ };
6375
+ };
6376
+ list_reports_api_admin_reports_get: {
6377
+ parameters: {
6378
+ query?: {
6379
+ skip?: number;
6380
+ limit?: number;
6381
+ category?: ("bug" | "feature" | "other") | null;
6382
+ status?: ("open" | "resolved") | null;
6383
+ user_id?: string | null;
6384
+ query?: string | null;
6385
+ };
6386
+ header?: never;
6387
+ path?: never;
6388
+ cookie?: never;
6389
+ };
6390
+ requestBody?: never;
6391
+ responses: {
6392
+ /** @description Successful Response */
6393
+ 200: {
6394
+ headers: {
6395
+ [name: string]: unknown;
6396
+ };
6397
+ content: {
6398
+ "application/json": components["schemas"]["AdminReportList"];
6399
+ };
6400
+ };
6401
+ /** @description Client Error */
6402
+ "4XX": {
6403
+ headers: {
6404
+ [name: string]: unknown;
6405
+ };
6406
+ content: {
6407
+ "application/json": components["schemas"]["ErrorResponse"];
6408
+ };
6409
+ };
6410
+ /** @description Server Error */
6411
+ "5XX": {
6412
+ headers: {
6413
+ [name: string]: unknown;
6414
+ };
6415
+ content: {
6416
+ "application/json": components["schemas"]["ErrorResponse"];
6417
+ };
6418
+ };
6419
+ };
6420
+ };
6421
+ delete_report_api_admin_reports__report_id__delete: {
6422
+ parameters: {
6423
+ query?: never;
6424
+ header?: never;
6425
+ path: {
6426
+ report_id: string;
6427
+ };
6428
+ cookie?: never;
6429
+ };
6430
+ requestBody?: never;
6431
+ responses: {
6432
+ /** @description Successful Response */
6433
+ 200: {
6434
+ headers: {
6435
+ [name: string]: unknown;
6436
+ };
6437
+ content: {
6438
+ "application/json": components["schemas"]["StatusMessageResponse"];
6439
+ };
6440
+ };
6441
+ /** @description Client Error */
6442
+ "4XX": {
6443
+ headers: {
6444
+ [name: string]: unknown;
6445
+ };
6446
+ content: {
6447
+ "application/json": components["schemas"]["ErrorResponse"];
6448
+ };
6449
+ };
6450
+ /** @description Server Error */
6451
+ "5XX": {
6452
+ headers: {
6453
+ [name: string]: unknown;
6454
+ };
6455
+ content: {
6456
+ "application/json": components["schemas"]["ErrorResponse"];
6457
+ };
6458
+ };
6459
+ };
6460
+ };
6461
+ update_report_status_api_admin_reports__report_id__patch: {
6462
+ parameters: {
6463
+ query?: never;
6464
+ header?: never;
6465
+ path: {
6466
+ report_id: string;
6467
+ };
6468
+ cookie?: never;
6469
+ };
6470
+ requestBody: {
6471
+ content: {
6472
+ "application/json": components["schemas"]["AdminReportUpdateInput"];
6473
+ };
6474
+ };
6475
+ responses: {
6476
+ /** @description Successful Response */
6477
+ 200: {
6478
+ headers: {
6479
+ [name: string]: unknown;
6480
+ };
6481
+ content: {
6482
+ "application/json": components["schemas"]["AdminReportRow"];
6483
+ };
6484
+ };
6485
+ /** @description Client Error */
6486
+ "4XX": {
6487
+ headers: {
6488
+ [name: string]: unknown;
6489
+ };
6490
+ content: {
6491
+ "application/json": components["schemas"]["ErrorResponse"];
6492
+ };
6493
+ };
6494
+ /** @description Server Error */
6495
+ "5XX": {
6496
+ headers: {
6497
+ [name: string]: unknown;
6498
+ };
6499
+ content: {
6500
+ "application/json": components["schemas"]["ErrorResponse"];
6501
+ };
6502
+ };
6503
+ };
6504
+ };
6505
+ get_report_attachment_api_admin_reports__report_id__attachment_get: {
6506
+ parameters: {
6507
+ query?: never;
6508
+ header?: never;
6509
+ path: {
6510
+ report_id: string;
6511
+ };
6512
+ cookie?: never;
6513
+ };
6514
+ requestBody?: never;
6515
+ responses: {
6516
+ /** @description The file, with the media type it was stored with */
5407
6517
  200: {
5408
6518
  headers: {
5409
6519
  [name: string]: unknown;
5410
6520
  };
5411
6521
  content: {
5412
- "application/json": components["schemas"]["AdminPlanView"];
6522
+ "application/octet-stream": unknown;
5413
6523
  };
5414
6524
  };
5415
6525
  /** @description Client Error */
@@ -7772,6 +8882,48 @@ declare interface operations {
7772
8882
  };
7773
8883
  };
7774
8884
  };
8885
+ submit_user_report_api_users_me_reports_post: {
8886
+ parameters: {
8887
+ query?: never;
8888
+ header?: never;
8889
+ path?: never;
8890
+ cookie?: never;
8891
+ };
8892
+ requestBody: {
8893
+ content: {
8894
+ "application/json": components["schemas"]["UserReportCreateInput"];
8895
+ };
8896
+ };
8897
+ responses: {
8898
+ /** @description Successful Response */
8899
+ 201: {
8900
+ headers: {
8901
+ [name: string]: unknown;
8902
+ };
8903
+ content: {
8904
+ "application/json": components["schemas"]["UserReportResponse"];
8905
+ };
8906
+ };
8907
+ /** @description Client Error */
8908
+ "4XX": {
8909
+ headers: {
8910
+ [name: string]: unknown;
8911
+ };
8912
+ content: {
8913
+ "application/json": components["schemas"]["ErrorResponse"];
8914
+ };
8915
+ };
8916
+ /** @description Server Error */
8917
+ "5XX": {
8918
+ headers: {
8919
+ [name: string]: unknown;
8920
+ };
8921
+ content: {
8922
+ "application/json": components["schemas"]["ErrorResponse"];
8923
+ };
8924
+ };
8925
+ };
8926
+ };
7775
8927
  health_check_health_get: {
7776
8928
  parameters: {
7777
8929
  query?: never;
@@ -7927,7 +9079,7 @@ declare interface paths {
7927
9079
  };
7928
9080
  /**
7929
9081
  * Get Analytics
7930
- * @description Endpoint to get analytics data for the admin panel.
9082
+ * @description Endpoint to get analytics data for the admin panel, optionally narrowed by filters.
7931
9083
  */
7932
9084
  get: operations["get_analytics_api_admin_analytics_get"];
7933
9085
  put?: never;
@@ -7938,6 +9090,186 @@ declare interface paths {
7938
9090
  patch?: never;
7939
9091
  trace?: never;
7940
9092
  };
9093
+ "/api/admin/analytics/engagement": {
9094
+ parameters: {
9095
+ query?: never;
9096
+ header?: never;
9097
+ path?: never;
9098
+ cookie?: never;
9099
+ };
9100
+ /**
9101
+ * Get Analytics Engagement
9102
+ * @description User-level engagement metrics, lifecycle stages, reach, growth accounting, and activity heatmap.
9103
+ */
9104
+ get: operations["get_analytics_engagement_api_admin_analytics_engagement_get"];
9105
+ put?: never;
9106
+ post?: never;
9107
+ delete?: never;
9108
+ options?: never;
9109
+ head?: never;
9110
+ patch?: never;
9111
+ trace?: never;
9112
+ };
9113
+ "/api/admin/analytics/engagement/users": {
9114
+ parameters: {
9115
+ query?: never;
9116
+ header?: never;
9117
+ path?: never;
9118
+ cookie?: never;
9119
+ };
9120
+ /**
9121
+ * Get Analytics Engagement Users
9122
+ * @description Paginated users matching an engagement stage, frequency level, and/or session depth.
9123
+ */
9124
+ get: operations["get_analytics_engagement_users_api_admin_analytics_engagement_users_get"];
9125
+ put?: never;
9126
+ post?: never;
9127
+ delete?: never;
9128
+ options?: never;
9129
+ head?: never;
9130
+ patch?: never;
9131
+ trace?: never;
9132
+ };
9133
+ "/api/admin/analytics/engagement/users/export.csv": {
9134
+ parameters: {
9135
+ query?: never;
9136
+ header?: never;
9137
+ path?: never;
9138
+ cookie?: never;
9139
+ };
9140
+ /**
9141
+ * Export Analytics Engagement Users
9142
+ * @description Export matching engagement users as CSV.
9143
+ */
9144
+ get: operations["export_analytics_engagement_users_api_admin_analytics_engagement_users_export_csv_get"];
9145
+ put?: never;
9146
+ post?: never;
9147
+ delete?: never;
9148
+ options?: never;
9149
+ head?: never;
9150
+ patch?: never;
9151
+ trace?: never;
9152
+ };
9153
+ "/api/admin/analytics/filter-options": {
9154
+ parameters: {
9155
+ query?: never;
9156
+ header?: never;
9157
+ path?: never;
9158
+ cookie?: never;
9159
+ };
9160
+ /**
9161
+ * Analytics Filter Options
9162
+ * @description What the analytics filters can choose from: plans and whether there are subscription groups.
9163
+ */
9164
+ get: operations["analytics_filter_options_api_admin_analytics_filter_options_get"];
9165
+ put?: never;
9166
+ post?: never;
9167
+ delete?: never;
9168
+ options?: never;
9169
+ head?: never;
9170
+ patch?: never;
9171
+ trace?: never;
9172
+ };
9173
+ "/api/admin/analytics/groups": {
9174
+ parameters: {
9175
+ query?: never;
9176
+ header?: never;
9177
+ path?: never;
9178
+ cookie?: never;
9179
+ };
9180
+ /**
9181
+ * Search Analytics Groups
9182
+ * @description Subscription groups matching ``query``, for picking whose analytics to show.
9183
+ */
9184
+ get: operations["search_analytics_groups_api_admin_analytics_groups_get"];
9185
+ put?: never;
9186
+ post?: never;
9187
+ delete?: never;
9188
+ options?: never;
9189
+ head?: never;
9190
+ patch?: never;
9191
+ trace?: never;
9192
+ };
9193
+ "/api/admin/analytics/trends": {
9194
+ parameters: {
9195
+ query?: never;
9196
+ header?: never;
9197
+ path?: never;
9198
+ cookie?: never;
9199
+ };
9200
+ /**
9201
+ * Get Analytics Trends
9202
+ * @description Detailed daily operational & product trends, with per-plan tier breakdown when Billing is active.
9203
+ */
9204
+ get: operations["get_analytics_trends_api_admin_analytics_trends_get"];
9205
+ put?: never;
9206
+ post?: never;
9207
+ delete?: never;
9208
+ options?: never;
9209
+ head?: never;
9210
+ patch?: never;
9211
+ trace?: never;
9212
+ };
9213
+ "/api/admin/analytics/trends/export.csv": {
9214
+ parameters: {
9215
+ query?: never;
9216
+ header?: never;
9217
+ path?: never;
9218
+ cookie?: never;
9219
+ };
9220
+ /**
9221
+ * Export Analytics Trends
9222
+ * @description Export daily operational trends as CSV.
9223
+ */
9224
+ get: operations["export_analytics_trends_api_admin_analytics_trends_export_csv_get"];
9225
+ put?: never;
9226
+ post?: never;
9227
+ delete?: never;
9228
+ options?: never;
9229
+ head?: never;
9230
+ patch?: never;
9231
+ trace?: never;
9232
+ };
9233
+ "/api/admin/analytics/usage": {
9234
+ parameters: {
9235
+ query?: never;
9236
+ header?: never;
9237
+ path?: never;
9238
+ cookie?: never;
9239
+ };
9240
+ /**
9241
+ * Get Analytics Usage Limits
9242
+ * @description Per-plan peak window utilization histograms and daily percentiles against configured limits.
9243
+ */
9244
+ get: operations["get_analytics_usage_limits_api_admin_analytics_usage_get"];
9245
+ put?: never;
9246
+ post?: never;
9247
+ delete?: never;
9248
+ options?: never;
9249
+ head?: never;
9250
+ patch?: never;
9251
+ trace?: never;
9252
+ };
9253
+ "/api/admin/analytics/users": {
9254
+ parameters: {
9255
+ query?: never;
9256
+ header?: never;
9257
+ path?: never;
9258
+ cookie?: never;
9259
+ };
9260
+ /**
9261
+ * Search Analytics Users
9262
+ * @description Users matching ``query``, for picking whose analytics to show.
9263
+ */
9264
+ get: operations["search_analytics_users_api_admin_analytics_users_get"];
9265
+ put?: never;
9266
+ post?: never;
9267
+ delete?: never;
9268
+ options?: never;
9269
+ head?: never;
9270
+ patch?: never;
9271
+ trace?: never;
9272
+ };
7941
9273
  "/api/admin/api-keys": {
7942
9274
  parameters: {
7943
9275
  query?: never;
@@ -8490,6 +9822,70 @@ declare interface paths {
8490
9822
  patch?: never;
8491
9823
  trace?: never;
8492
9824
  };
9825
+ "/api/admin/reports": {
9826
+ parameters: {
9827
+ query?: never;
9828
+ header?: never;
9829
+ path?: never;
9830
+ cookie?: never;
9831
+ };
9832
+ /**
9833
+ * List Reports
9834
+ * @description List user-submitted feedback reports, newest first.
9835
+ */
9836
+ get: operations["list_reports_api_admin_reports_get"];
9837
+ put?: never;
9838
+ post?: never;
9839
+ delete?: never;
9840
+ options?: never;
9841
+ head?: never;
9842
+ patch?: never;
9843
+ trace?: never;
9844
+ };
9845
+ "/api/admin/reports/{report_id}": {
9846
+ parameters: {
9847
+ query?: never;
9848
+ header?: never;
9849
+ path?: never;
9850
+ cookie?: never;
9851
+ };
9852
+ get?: never;
9853
+ put?: never;
9854
+ post?: never;
9855
+ /**
9856
+ * Delete Report
9857
+ * @description Delete a user report and any attachment it claimed.
9858
+ */
9859
+ delete: operations["delete_report_api_admin_reports__report_id__delete"];
9860
+ options?: never;
9861
+ head?: never;
9862
+ /**
9863
+ * Update Report Status
9864
+ * @description Mark a report open or resolved.
9865
+ */
9866
+ patch: operations["update_report_status_api_admin_reports__report_id__patch"];
9867
+ trace?: never;
9868
+ };
9869
+ "/api/admin/reports/{report_id}/attachment": {
9870
+ parameters: {
9871
+ query?: never;
9872
+ header?: never;
9873
+ path?: never;
9874
+ cookie?: never;
9875
+ };
9876
+ /**
9877
+ * Get Report Attachment
9878
+ * @description Serve the file attached to a user report.
9879
+ */
9880
+ get: operations["get_report_attachment_api_admin_reports__report_id__attachment_get"];
9881
+ put?: never;
9882
+ post?: never;
9883
+ delete?: never;
9884
+ options?: never;
9885
+ head?: never;
9886
+ patch?: never;
9887
+ trace?: never;
9888
+ };
8493
9889
  "/api/admin/settings": {
8494
9890
  parameters: {
8495
9891
  query?: never;
@@ -9527,6 +10923,26 @@ declare interface paths {
9527
10923
  patch?: never;
9528
10924
  trace?: never;
9529
10925
  };
10926
+ "/api/users/me/reports": {
10927
+ parameters: {
10928
+ query?: never;
10929
+ header?: never;
10930
+ path?: never;
10931
+ cookie?: never;
10932
+ };
10933
+ get?: never;
10934
+ put?: never;
10935
+ /**
10936
+ * Submit User Report
10937
+ * @description Submit a bug report, feature request or general feedback from the signed-in user.
10938
+ */
10939
+ post: operations["submit_user_report_api_users_me_reports_post"];
10940
+ delete?: never;
10941
+ options?: never;
10942
+ head?: never;
10943
+ patch?: never;
10944
+ trace?: never;
10945
+ };
9530
10946
  "/health": {
9531
10947
  parameters: {
9532
10948
  query?: never;
@@ -9892,6 +11308,9 @@ declare interface UploadInit {
9892
11308
  onProgress?: (fraction: number) => void;
9893
11309
  }
9894
11310
 
11311
+ /** Request body for `POST /users/me/reports`. */
11312
+ declare type UserReportInput = Schemas['UserReportCreateInput'];
11313
+
9895
11314
  /**
9896
11315
  * Something about a dictation the user should hear of:
9897
11316
  * - `mic_denied`, `mic_missing`, `mic_error`: the microphone couldn't be opened.