@gentiq/core 1.0.0-alpha.7 → 1.0.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/api.es.js +11 -9
- package/dist/index.d.ts +1269 -77
- package/dist/index.es.js +27 -25
- package/dist/internal.d.ts +1259 -79
- package/package.json +1 -1
package/dist/internal.d.ts
CHANGED
|
@@ -328,6 +328,18 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
328
328
|
getStatus: (signal?: AbortSignal) => Promise<{
|
|
329
329
|
maintenance: components["schemas"]["MaintenanceNotice"];
|
|
330
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
|
+
}>;
|
|
331
343
|
};
|
|
332
344
|
|
|
333
345
|
/**
|
|
@@ -519,15 +531,6 @@ export declare interface components {
|
|
|
519
531
|
*/
|
|
520
532
|
via: "resolver" | "subscription" | "credits" | "default";
|
|
521
533
|
};
|
|
522
|
-
/** ActiveUser */
|
|
523
|
-
ActiveUser: {
|
|
524
|
-
/** Name */
|
|
525
|
-
name: string;
|
|
526
|
-
/** Thread Count */
|
|
527
|
-
thread_count: number;
|
|
528
|
-
/** User Id */
|
|
529
|
-
user_id: string;
|
|
530
|
-
};
|
|
531
534
|
/** AdminCreated */
|
|
532
535
|
AdminCreated: {
|
|
533
536
|
/** Admin Id */
|
|
@@ -749,6 +752,73 @@ export declare interface components {
|
|
|
749
752
|
/** Username */
|
|
750
753
|
username: string;
|
|
751
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
|
+
};
|
|
752
822
|
/**
|
|
753
823
|
* AdminSession
|
|
754
824
|
* @description The signed-in admin as the store holds it now, not as the token described it.
|
|
@@ -1020,16 +1090,42 @@ export declare interface components {
|
|
|
1020
1090
|
};
|
|
1021
1091
|
/** Analytics */
|
|
1022
1092
|
Analytics: {
|
|
1023
|
-
/** Active Users */
|
|
1024
|
-
active_users: components["schemas"]["ActiveUser"][];
|
|
1025
|
-
distributions: components["schemas"]["AnalyticsDistributions"];
|
|
1026
1093
|
overview: components["schemas"]["AnalyticsOverview"];
|
|
1027
1094
|
trends: components["schemas"]["AnalyticsTrends"];
|
|
1028
1095
|
};
|
|
1029
|
-
/**
|
|
1030
|
-
|
|
1031
|
-
/**
|
|
1032
|
-
|
|
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"];
|
|
1033
1129
|
};
|
|
1034
1130
|
/** AnalyticsOverview */
|
|
1035
1131
|
AnalyticsOverview: {
|
|
@@ -1052,6 +1148,8 @@ export declare interface components {
|
|
|
1052
1148
|
};
|
|
1053
1149
|
/** AnalyticsTrends */
|
|
1054
1150
|
AnalyticsTrends: {
|
|
1151
|
+
/** Feedback */
|
|
1152
|
+
feedback: components["schemas"]["FeedbackDay"][];
|
|
1055
1153
|
/** Messages */
|
|
1056
1154
|
messages: components["schemas"]["DateCount"][];
|
|
1057
1155
|
/** Threads */
|
|
@@ -1061,6 +1159,24 @@ export declare interface components {
|
|
|
1061
1159
|
/** Users */
|
|
1062
1160
|
users: components["schemas"]["DateCount"][];
|
|
1063
1161
|
};
|
|
1162
|
+
/** AnalyticsTrendsDetail */
|
|
1163
|
+
AnalyticsTrendsDetail: {
|
|
1164
|
+
/** Currency */
|
|
1165
|
+
currency: string;
|
|
1166
|
+
/** Daily */
|
|
1167
|
+
daily: components["schemas"]["TrendDayPoint"][];
|
|
1168
|
+
/** Plans */
|
|
1169
|
+
plans: components["schemas"]["PlanTierSummary"][];
|
|
1170
|
+
};
|
|
1171
|
+
/** AnalyticsUsageLimits */
|
|
1172
|
+
AnalyticsUsageLimits: {
|
|
1173
|
+
/** Buckets */
|
|
1174
|
+
buckets: number[];
|
|
1175
|
+
/** Currency */
|
|
1176
|
+
currency: string;
|
|
1177
|
+
/** Plans */
|
|
1178
|
+
plans: components["schemas"]["PlanUsageView"][];
|
|
1179
|
+
};
|
|
1064
1180
|
/** ApiKeyCreateInput */
|
|
1065
1181
|
ApiKeyCreateInput: {
|
|
1066
1182
|
/** Expires At */
|
|
@@ -1650,6 +1766,15 @@ export declare interface components {
|
|
|
1650
1766
|
*/
|
|
1651
1767
|
type: "data-choice-question";
|
|
1652
1768
|
};
|
|
1769
|
+
/** CountBin */
|
|
1770
|
+
CountBin: {
|
|
1771
|
+
/** Count */
|
|
1772
|
+
count: number;
|
|
1773
|
+
/** From */
|
|
1774
|
+
from: number;
|
|
1775
|
+
/** To */
|
|
1776
|
+
to: number;
|
|
1777
|
+
};
|
|
1653
1778
|
/** CreditsGrantInput */
|
|
1654
1779
|
CreditsGrantInput: {
|
|
1655
1780
|
/** Amount */
|
|
@@ -1750,6 +1875,166 @@ export declare interface components {
|
|
|
1750
1875
|
*/
|
|
1751
1876
|
type: "dynamic-tool";
|
|
1752
1877
|
};
|
|
1878
|
+
/** EngagementDay */
|
|
1879
|
+
EngagementDay: {
|
|
1880
|
+
/** Active */
|
|
1881
|
+
active: number;
|
|
1882
|
+
/** Date */
|
|
1883
|
+
date: string;
|
|
1884
|
+
/** Mau */
|
|
1885
|
+
mau: number;
|
|
1886
|
+
/** New */
|
|
1887
|
+
new: number;
|
|
1888
|
+
/** Sessions */
|
|
1889
|
+
sessions: number;
|
|
1890
|
+
/** Wau */
|
|
1891
|
+
wau: number;
|
|
1892
|
+
};
|
|
1893
|
+
/** EngagementHour */
|
|
1894
|
+
EngagementHour: {
|
|
1895
|
+
/** Active */
|
|
1896
|
+
active: number;
|
|
1897
|
+
/** Hour */
|
|
1898
|
+
hour: number;
|
|
1899
|
+
/** New */
|
|
1900
|
+
new: number;
|
|
1901
|
+
};
|
|
1902
|
+
/** EngagementMedians */
|
|
1903
|
+
EngagementMedians: {
|
|
1904
|
+
/** Days To Second Visit */
|
|
1905
|
+
days_to_second_visit: number | null;
|
|
1906
|
+
/** Gap Days */
|
|
1907
|
+
gap_days: number | null;
|
|
1908
|
+
/** Messages Per Session */
|
|
1909
|
+
messages_per_session: number | null;
|
|
1910
|
+
/** Minutes Per Session */
|
|
1911
|
+
minutes_per_session: number | null;
|
|
1912
|
+
/** Sessions Per User */
|
|
1913
|
+
sessions_per_user: number | null;
|
|
1914
|
+
};
|
|
1915
|
+
/** EngagementPeriod */
|
|
1916
|
+
EngagementPeriod: {
|
|
1917
|
+
/**
|
|
1918
|
+
* Bucket
|
|
1919
|
+
* @enum {string}
|
|
1920
|
+
*/
|
|
1921
|
+
bucket: "day" | "week";
|
|
1922
|
+
/** Days */
|
|
1923
|
+
days: number;
|
|
1924
|
+
/** End */
|
|
1925
|
+
end: string;
|
|
1926
|
+
/** Start */
|
|
1927
|
+
start: string;
|
|
1928
|
+
/** Timezone */
|
|
1929
|
+
timezone: string;
|
|
1930
|
+
/**
|
|
1931
|
+
* Week Start
|
|
1932
|
+
* @enum {string}
|
|
1933
|
+
*/
|
|
1934
|
+
week_start: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
|
|
1935
|
+
};
|
|
1936
|
+
/** EngagementRates */
|
|
1937
|
+
EngagementRates: {
|
|
1938
|
+
/** Active */
|
|
1939
|
+
active: number | null;
|
|
1940
|
+
/** Came Back */
|
|
1941
|
+
came_back: number | null;
|
|
1942
|
+
/** New */
|
|
1943
|
+
new: number | null;
|
|
1944
|
+
/** Stickiness */
|
|
1945
|
+
stickiness: number | null;
|
|
1946
|
+
};
|
|
1947
|
+
/** EngagementThresholds */
|
|
1948
|
+
EngagementThresholds: {
|
|
1949
|
+
/** Daily Bucket Max Days */
|
|
1950
|
+
daily_bucket_max_days: number;
|
|
1951
|
+
/** Deep Session Messages */
|
|
1952
|
+
deep_session_messages: number;
|
|
1953
|
+
/** Power Days Per Week */
|
|
1954
|
+
power_days_per_week: number;
|
|
1955
|
+
/** Power Min Days */
|
|
1956
|
+
power_min_days: number;
|
|
1957
|
+
/** Quick Session Messages */
|
|
1958
|
+
quick_session_messages: number;
|
|
1959
|
+
/** Regular Days Per Week */
|
|
1960
|
+
regular_days_per_week: number;
|
|
1961
|
+
/** Resurrected Gap Days */
|
|
1962
|
+
resurrected_gap_days: number;
|
|
1963
|
+
/** Session Gap Minutes */
|
|
1964
|
+
session_gap_minutes: number;
|
|
1965
|
+
};
|
|
1966
|
+
/** EngagementTotals */
|
|
1967
|
+
EngagementTotals: {
|
|
1968
|
+
/** Active */
|
|
1969
|
+
active: number;
|
|
1970
|
+
/** Active Days */
|
|
1971
|
+
active_days: number;
|
|
1972
|
+
/** Average Daily */
|
|
1973
|
+
average_daily: number;
|
|
1974
|
+
/** Came Back */
|
|
1975
|
+
came_back: number;
|
|
1976
|
+
/** Messages */
|
|
1977
|
+
messages: number;
|
|
1978
|
+
/** Multi Session */
|
|
1979
|
+
multi_session: number;
|
|
1980
|
+
/** New */
|
|
1981
|
+
new: number;
|
|
1982
|
+
/** Sessions */
|
|
1983
|
+
sessions: number;
|
|
1984
|
+
/** Users */
|
|
1985
|
+
users: number;
|
|
1986
|
+
};
|
|
1987
|
+
/** EngagementUserList */
|
|
1988
|
+
EngagementUserList: {
|
|
1989
|
+
/** Total */
|
|
1990
|
+
total: number;
|
|
1991
|
+
/** Users */
|
|
1992
|
+
users: components["schemas"]["EngagementUserRow"][];
|
|
1993
|
+
};
|
|
1994
|
+
/** EngagementUserRow */
|
|
1995
|
+
EngagementUserRow: {
|
|
1996
|
+
/** Active Days */
|
|
1997
|
+
active_days: number;
|
|
1998
|
+
/** Depth */
|
|
1999
|
+
depth?: ("quick" | "conversational" | "deep") | null;
|
|
2000
|
+
/** Email */
|
|
2001
|
+
email?: string | null;
|
|
2002
|
+
/** External Id */
|
|
2003
|
+
external_id?: string | null;
|
|
2004
|
+
/** Files */
|
|
2005
|
+
files: number;
|
|
2006
|
+
/** First Used At */
|
|
2007
|
+
first_used_at?: string | null;
|
|
2008
|
+
/** Last Active At */
|
|
2009
|
+
last_active_at?: string | null;
|
|
2010
|
+
/** Level */
|
|
2011
|
+
level?: ("power" | "regular" | "casual" | "one_day") | null;
|
|
2012
|
+
/** Messages */
|
|
2013
|
+
messages: number;
|
|
2014
|
+
/** Messages Per Session */
|
|
2015
|
+
messages_per_session?: number | null;
|
|
2016
|
+
/** Name */
|
|
2017
|
+
name: string;
|
|
2018
|
+
/** Phone */
|
|
2019
|
+
phone?: string | null;
|
|
2020
|
+
/** Sessions */
|
|
2021
|
+
sessions: number;
|
|
2022
|
+
/**
|
|
2023
|
+
* Stage
|
|
2024
|
+
* @enum {string}
|
|
2025
|
+
*/
|
|
2026
|
+
stage: "new" | "returning" | "resurrected" | "lapsed" | "never";
|
|
2027
|
+
/** Subscription Group */
|
|
2028
|
+
subscription_group?: string | null;
|
|
2029
|
+
/** Surname */
|
|
2030
|
+
surname?: string | null;
|
|
2031
|
+
/** Threads */
|
|
2032
|
+
threads: number;
|
|
2033
|
+
/** User Id */
|
|
2034
|
+
user_id: string;
|
|
2035
|
+
/** Username */
|
|
2036
|
+
username?: string | null;
|
|
2037
|
+
};
|
|
1753
2038
|
/**
|
|
1754
2039
|
* EntitlementStatus
|
|
1755
2040
|
* @description Everything a UI or an integrator needs to explain a user's allowance.
|
|
@@ -1822,6 +2107,15 @@ export declare interface components {
|
|
|
1822
2107
|
} & {
|
|
1823
2108
|
[key: string]: unknown;
|
|
1824
2109
|
};
|
|
2110
|
+
/** FeedbackDay */
|
|
2111
|
+
FeedbackDay: {
|
|
2112
|
+
/** Date */
|
|
2113
|
+
date: string | null;
|
|
2114
|
+
/** Negative */
|
|
2115
|
+
negative: number;
|
|
2116
|
+
/** Positive */
|
|
2117
|
+
positive: number;
|
|
2118
|
+
};
|
|
1825
2119
|
/**
|
|
1826
2120
|
* FilePart
|
|
1827
2121
|
* @description A file. ``attachmentId`` names one the server stores; ``url`` one hosted elsewhere.
|
|
@@ -1881,6 +2175,25 @@ export declare interface components {
|
|
|
1881
2175
|
/** Groups */
|
|
1882
2176
|
groups: string[];
|
|
1883
2177
|
};
|
|
2178
|
+
/** GrowthBucket */
|
|
2179
|
+
GrowthBucket: {
|
|
2180
|
+
/** Active */
|
|
2181
|
+
active: number;
|
|
2182
|
+
/** Churned */
|
|
2183
|
+
churned: number;
|
|
2184
|
+
/** New */
|
|
2185
|
+
new: number;
|
|
2186
|
+
/** Partial */
|
|
2187
|
+
partial: boolean;
|
|
2188
|
+
/** Quick Ratio */
|
|
2189
|
+
quick_ratio: number | null;
|
|
2190
|
+
/** Resurrected */
|
|
2191
|
+
resurrected: number;
|
|
2192
|
+
/** Retained */
|
|
2193
|
+
retained: number;
|
|
2194
|
+
/** Start */
|
|
2195
|
+
start: string;
|
|
2196
|
+
};
|
|
1884
2197
|
/** Incident */
|
|
1885
2198
|
Incident: {
|
|
1886
2199
|
/** Action */
|
|
@@ -2270,6 +2583,15 @@ export declare interface components {
|
|
|
2270
2583
|
/** Total Cost Microunits */
|
|
2271
2584
|
total_cost_microunits?: number | null;
|
|
2272
2585
|
};
|
|
2586
|
+
/** Percentiles */
|
|
2587
|
+
Percentiles: {
|
|
2588
|
+
/** P50 */
|
|
2589
|
+
p50: number | null;
|
|
2590
|
+
/** P75 */
|
|
2591
|
+
p75: number | null;
|
|
2592
|
+
/** P90 */
|
|
2593
|
+
p90: number | null;
|
|
2594
|
+
};
|
|
2273
2595
|
/** PermissionList */
|
|
2274
2596
|
PermissionList: {
|
|
2275
2597
|
/** Permissions */
|
|
@@ -2340,6 +2662,22 @@ export declare interface components {
|
|
|
2340
2662
|
/** Name */
|
|
2341
2663
|
name: string;
|
|
2342
2664
|
};
|
|
2665
|
+
/** PlanLimitView */
|
|
2666
|
+
PlanLimitView: {
|
|
2667
|
+
/** Amount */
|
|
2668
|
+
amount: number;
|
|
2669
|
+
/** Every */
|
|
2670
|
+
every: number;
|
|
2671
|
+
/** Id */
|
|
2672
|
+
id: string;
|
|
2673
|
+
/** Meter */
|
|
2674
|
+
meter: string;
|
|
2675
|
+
/**
|
|
2676
|
+
* Per
|
|
2677
|
+
* @enum {string}
|
|
2678
|
+
*/
|
|
2679
|
+
per: "minute" | "hour" | "day" | "week" | "month" | "subscription";
|
|
2680
|
+
};
|
|
2343
2681
|
/** PlanList */
|
|
2344
2682
|
PlanList: {
|
|
2345
2683
|
/** Plans */
|
|
@@ -2370,6 +2708,52 @@ export declare interface components {
|
|
|
2370
2708
|
/** Name */
|
|
2371
2709
|
name: string;
|
|
2372
2710
|
};
|
|
2711
|
+
/** PlanTierSummary */
|
|
2712
|
+
PlanTierSummary: {
|
|
2713
|
+
/** Active Users */
|
|
2714
|
+
active_users: number;
|
|
2715
|
+
/** Cost Microunits */
|
|
2716
|
+
cost_microunits: number;
|
|
2717
|
+
/** Daily */
|
|
2718
|
+
daily: components["schemas"]["PlanTrendDayPoint"][];
|
|
2719
|
+
/** Dislikes */
|
|
2720
|
+
dislikes: number;
|
|
2721
|
+
/** Key */
|
|
2722
|
+
key: string;
|
|
2723
|
+
/** Likes */
|
|
2724
|
+
likes: number;
|
|
2725
|
+
/** Messages */
|
|
2726
|
+
messages: number;
|
|
2727
|
+
/** Name */
|
|
2728
|
+
name: string;
|
|
2729
|
+
/** Quota Hits */
|
|
2730
|
+
quota_hits: number;
|
|
2731
|
+
/** Threads Started */
|
|
2732
|
+
threads_started: number;
|
|
2733
|
+
/** Tokens */
|
|
2734
|
+
tokens: number;
|
|
2735
|
+
};
|
|
2736
|
+
/** PlanTrendDayPoint */
|
|
2737
|
+
PlanTrendDayPoint: {
|
|
2738
|
+
/** Active Users */
|
|
2739
|
+
active_users: number;
|
|
2740
|
+
/** Cost Microunits */
|
|
2741
|
+
cost_microunits: number;
|
|
2742
|
+
/** Date */
|
|
2743
|
+
date: string;
|
|
2744
|
+
/** Dislikes */
|
|
2745
|
+
dislikes: number;
|
|
2746
|
+
/** Likes */
|
|
2747
|
+
likes: number;
|
|
2748
|
+
/** Messages */
|
|
2749
|
+
messages: number;
|
|
2750
|
+
/** Quota Hits */
|
|
2751
|
+
quota_hits: number;
|
|
2752
|
+
/** Threads Started */
|
|
2753
|
+
threads_started: number;
|
|
2754
|
+
/** Tokens */
|
|
2755
|
+
tokens: number;
|
|
2756
|
+
};
|
|
2373
2757
|
/** PlanUpdateInput */
|
|
2374
2758
|
PlanUpdateInput: {
|
|
2375
2759
|
/** Archived */
|
|
@@ -2386,6 +2770,28 @@ export declare interface components {
|
|
|
2386
2770
|
/** Name */
|
|
2387
2771
|
name?: string | null;
|
|
2388
2772
|
};
|
|
2773
|
+
/** PlanUsageView */
|
|
2774
|
+
PlanUsageView: {
|
|
2775
|
+
/** Active Users */
|
|
2776
|
+
active_users: number;
|
|
2777
|
+
duration?: components["schemas"]["PlanDuration"] | null;
|
|
2778
|
+
/** Histograms */
|
|
2779
|
+
histograms: {
|
|
2780
|
+
[key: string]: number[];
|
|
2781
|
+
};
|
|
2782
|
+
/** Is Default */
|
|
2783
|
+
is_default: boolean;
|
|
2784
|
+
/** Key */
|
|
2785
|
+
key: string;
|
|
2786
|
+
/** Limit Hits */
|
|
2787
|
+
limit_hits: number;
|
|
2788
|
+
/** Limits */
|
|
2789
|
+
limits: components["schemas"]["PlanLimitView"][];
|
|
2790
|
+
messages_per_active_day: components["schemas"]["Percentiles"];
|
|
2791
|
+
/** Name */
|
|
2792
|
+
name: string;
|
|
2793
|
+
tokens_per_active_day: components["schemas"]["Percentiles"];
|
|
2794
|
+
};
|
|
2389
2795
|
/** PlanView */
|
|
2390
2796
|
PlanView: {
|
|
2391
2797
|
/** Archived */
|
|
@@ -2748,13 +3154,6 @@ export declare interface components {
|
|
|
2748
3154
|
[key: string]: unknown;
|
|
2749
3155
|
};
|
|
2750
3156
|
};
|
|
2751
|
-
/** SentimentCount */
|
|
2752
|
-
SentimentCount: {
|
|
2753
|
-
/** Count */
|
|
2754
|
-
count: number;
|
|
2755
|
-
/** Sentiment */
|
|
2756
|
-
sentiment: string | null;
|
|
2757
|
-
};
|
|
2758
3157
|
/** SessionInput */
|
|
2759
3158
|
SessionInput: {
|
|
2760
3159
|
/** Redirect Path */
|
|
@@ -3391,6 +3790,33 @@ export declare interface components {
|
|
|
3391
3790
|
/** Text */
|
|
3392
3791
|
text: string;
|
|
3393
3792
|
};
|
|
3793
|
+
/** TrendDayPoint */
|
|
3794
|
+
TrendDayPoint: {
|
|
3795
|
+
/** Active Users */
|
|
3796
|
+
active_users: number;
|
|
3797
|
+
/** Cost Microunits */
|
|
3798
|
+
cost_microunits: number;
|
|
3799
|
+
/** Date */
|
|
3800
|
+
date: string;
|
|
3801
|
+
/** Dislikes */
|
|
3802
|
+
dislikes: number;
|
|
3803
|
+
/** Likes */
|
|
3804
|
+
likes: number;
|
|
3805
|
+
/** Messages */
|
|
3806
|
+
messages: number;
|
|
3807
|
+
/** New Users */
|
|
3808
|
+
new_users: number;
|
|
3809
|
+
/** Quota Hits */
|
|
3810
|
+
quota_hits: number;
|
|
3811
|
+
/** Threads Started */
|
|
3812
|
+
threads_started: number;
|
|
3813
|
+
/** Tokens */
|
|
3814
|
+
tokens: number;
|
|
3815
|
+
/** Turns Completed */
|
|
3816
|
+
turns_completed: number;
|
|
3817
|
+
/** Turns Failed */
|
|
3818
|
+
turns_failed: number;
|
|
3819
|
+
};
|
|
3394
3820
|
/**
|
|
3395
3821
|
* TurnData
|
|
3396
3822
|
* @description The turn being streamed, which ``GET /chat/threads/{thread_id}/turns/{turn_id}/stream`` reconnects to.
|
|
@@ -3598,6 +4024,50 @@ export declare interface components {
|
|
|
3598
4024
|
/** Username */
|
|
3599
4025
|
username: string | null;
|
|
3600
4026
|
};
|
|
4027
|
+
/** UserReportCreateInput */
|
|
4028
|
+
UserReportCreateInput: {
|
|
4029
|
+
/** Attachment Id */
|
|
4030
|
+
attachment_id?: string | null;
|
|
4031
|
+
/**
|
|
4032
|
+
* Category
|
|
4033
|
+
* @enum {string}
|
|
4034
|
+
*/
|
|
4035
|
+
category: "bug" | "feature" | "other";
|
|
4036
|
+
/** Description */
|
|
4037
|
+
description: string;
|
|
4038
|
+
/** Subject */
|
|
4039
|
+
subject: string;
|
|
4040
|
+
};
|
|
4041
|
+
/** UserReportResponse */
|
|
4042
|
+
UserReportResponse: {
|
|
4043
|
+
/** Attachment Filename */
|
|
4044
|
+
attachment_filename?: string | null;
|
|
4045
|
+
/** Attachment Id */
|
|
4046
|
+
attachment_id?: string | null;
|
|
4047
|
+
/** Attachment Media Type */
|
|
4048
|
+
attachment_media_type?: string | null;
|
|
4049
|
+
/**
|
|
4050
|
+
* Category
|
|
4051
|
+
* @enum {string}
|
|
4052
|
+
*/
|
|
4053
|
+
category: "bug" | "feature" | "other";
|
|
4054
|
+
/**
|
|
4055
|
+
* Created At
|
|
4056
|
+
* Format: date-time
|
|
4057
|
+
*/
|
|
4058
|
+
created_at: string;
|
|
4059
|
+
/** Description */
|
|
4060
|
+
description: string;
|
|
4061
|
+
/** Id */
|
|
4062
|
+
id: string;
|
|
4063
|
+
/**
|
|
4064
|
+
* Status
|
|
4065
|
+
* @enum {string}
|
|
4066
|
+
*/
|
|
4067
|
+
status: "open" | "resolved";
|
|
4068
|
+
/** Subject */
|
|
4069
|
+
subject: string;
|
|
4070
|
+
};
|
|
3601
4071
|
/** UserUpdateInput */
|
|
3602
4072
|
UserUpdateInput: {
|
|
3603
4073
|
/** Email */
|
|
@@ -4286,9 +4756,19 @@ declare interface operations {
|
|
|
4286
4756
|
};
|
|
4287
4757
|
};
|
|
4288
4758
|
};
|
|
4289
|
-
|
|
4759
|
+
get_analytics_engagement_api_admin_analytics_engagement_get: {
|
|
4290
4760
|
parameters: {
|
|
4291
|
-
query?:
|
|
4761
|
+
query?: {
|
|
4762
|
+
days?: number;
|
|
4763
|
+
source?: "human" | "service" | "all";
|
|
4764
|
+
user_ids?: string[] | null;
|
|
4765
|
+
plan_keys?: string[] | null;
|
|
4766
|
+
groups?: string[] | null;
|
|
4767
|
+
metadata?: string | null;
|
|
4768
|
+
external_user_id?: string | null;
|
|
4769
|
+
date_from?: string | null;
|
|
4770
|
+
date_to?: string | null;
|
|
4771
|
+
};
|
|
4292
4772
|
header?: never;
|
|
4293
4773
|
path?: never;
|
|
4294
4774
|
cookie?: never;
|
|
@@ -4301,7 +4781,7 @@ declare interface operations {
|
|
|
4301
4781
|
[name: string]: unknown;
|
|
4302
4782
|
};
|
|
4303
4783
|
content: {
|
|
4304
|
-
"application/json": components["schemas"]["
|
|
4784
|
+
"application/json": components["schemas"]["AnalyticsEngagement"];
|
|
4305
4785
|
};
|
|
4306
4786
|
};
|
|
4307
4787
|
/** @description Client Error */
|
|
@@ -4324,10 +4804,22 @@ declare interface operations {
|
|
|
4324
4804
|
};
|
|
4325
4805
|
};
|
|
4326
4806
|
};
|
|
4327
|
-
|
|
4807
|
+
get_analytics_engagement_users_api_admin_analytics_engagement_users_get: {
|
|
4328
4808
|
parameters: {
|
|
4329
4809
|
query?: {
|
|
4330
|
-
|
|
4810
|
+
days?: number;
|
|
4811
|
+
source?: "human" | "service" | "all";
|
|
4812
|
+
user_ids?: string[] | null;
|
|
4813
|
+
plan_keys?: string[] | null;
|
|
4814
|
+
groups?: string[] | null;
|
|
4815
|
+
metadata?: string | null;
|
|
4816
|
+
external_user_id?: string | null;
|
|
4817
|
+
date_from?: string | null;
|
|
4818
|
+
date_to?: string | null;
|
|
4819
|
+
stage?: ("new" | "returning" | "resurrected" | "lapsed" | "never") | null;
|
|
4820
|
+
level?: ("power" | "regular" | "casual" | "one_day") | null;
|
|
4821
|
+
depth?: ("quick" | "conversational" | "deep") | null;
|
|
4822
|
+
skip?: number;
|
|
4331
4823
|
limit?: number;
|
|
4332
4824
|
};
|
|
4333
4825
|
header?: never;
|
|
@@ -4342,7 +4834,7 @@ declare interface operations {
|
|
|
4342
4834
|
[name: string]: unknown;
|
|
4343
4835
|
};
|
|
4344
4836
|
content: {
|
|
4345
|
-
"application/json": components["schemas"]["
|
|
4837
|
+
"application/json": components["schemas"]["EngagementUserList"];
|
|
4346
4838
|
};
|
|
4347
4839
|
};
|
|
4348
4840
|
/** @description Client Error */
|
|
@@ -4365,11 +4857,21 @@ declare interface operations {
|
|
|
4365
4857
|
};
|
|
4366
4858
|
};
|
|
4367
4859
|
};
|
|
4368
|
-
|
|
4860
|
+
export_analytics_engagement_users_api_admin_analytics_engagement_users_export_csv_get: {
|
|
4369
4861
|
parameters: {
|
|
4370
4862
|
query?: {
|
|
4371
|
-
|
|
4372
|
-
|
|
4863
|
+
days?: number;
|
|
4864
|
+
source?: "human" | "service" | "all";
|
|
4865
|
+
user_ids?: string[] | null;
|
|
4866
|
+
plan_keys?: string[] | null;
|
|
4867
|
+
groups?: string[] | null;
|
|
4868
|
+
metadata?: string | null;
|
|
4869
|
+
external_user_id?: string | null;
|
|
4870
|
+
date_from?: string | null;
|
|
4871
|
+
date_to?: string | null;
|
|
4872
|
+
stage?: ("new" | "returning" | "resurrected" | "lapsed" | "never") | null;
|
|
4873
|
+
level?: ("power" | "regular" | "casual" | "one_day") | null;
|
|
4874
|
+
depth?: ("quick" | "conversational" | "deep") | null;
|
|
4373
4875
|
};
|
|
4374
4876
|
header?: never;
|
|
4375
4877
|
path?: never;
|
|
@@ -4382,9 +4884,7 @@ declare interface operations {
|
|
|
4382
4884
|
headers: {
|
|
4383
4885
|
[name: string]: unknown;
|
|
4384
4886
|
};
|
|
4385
|
-
content
|
|
4386
|
-
"application/json": components["schemas"]["UserOptionList"];
|
|
4387
|
-
};
|
|
4887
|
+
content?: never;
|
|
4388
4888
|
};
|
|
4389
4889
|
/** @description Client Error */
|
|
4390
4890
|
"4XX": {
|
|
@@ -4406,7 +4906,7 @@ declare interface operations {
|
|
|
4406
4906
|
};
|
|
4407
4907
|
};
|
|
4408
4908
|
};
|
|
4409
|
-
|
|
4909
|
+
analytics_filter_options_api_admin_analytics_filter_options_get: {
|
|
4410
4910
|
parameters: {
|
|
4411
4911
|
query?: never;
|
|
4412
4912
|
header?: never;
|
|
@@ -4421,7 +4921,7 @@ declare interface operations {
|
|
|
4421
4921
|
[name: string]: unknown;
|
|
4422
4922
|
};
|
|
4423
4923
|
content: {
|
|
4424
|
-
"application/json": components["schemas"]["
|
|
4924
|
+
"application/json": components["schemas"]["FilterOptions"];
|
|
4425
4925
|
};
|
|
4426
4926
|
};
|
|
4427
4927
|
/** @description Client Error */
|
|
@@ -4444,26 +4944,25 @@ declare interface operations {
|
|
|
4444
4944
|
};
|
|
4445
4945
|
};
|
|
4446
4946
|
};
|
|
4447
|
-
|
|
4947
|
+
search_analytics_groups_api_admin_analytics_groups_get: {
|
|
4448
4948
|
parameters: {
|
|
4449
|
-
query?:
|
|
4949
|
+
query?: {
|
|
4950
|
+
query?: string;
|
|
4951
|
+
limit?: number;
|
|
4952
|
+
};
|
|
4450
4953
|
header?: never;
|
|
4451
4954
|
path?: never;
|
|
4452
4955
|
cookie?: never;
|
|
4453
4956
|
};
|
|
4454
|
-
requestBody
|
|
4455
|
-
content: {
|
|
4456
|
-
"application/json": components["schemas"]["ApiKeyCreateInput"];
|
|
4457
|
-
};
|
|
4458
|
-
};
|
|
4957
|
+
requestBody?: never;
|
|
4459
4958
|
responses: {
|
|
4460
4959
|
/** @description Successful Response */
|
|
4461
|
-
|
|
4960
|
+
200: {
|
|
4462
4961
|
headers: {
|
|
4463
4962
|
[name: string]: unknown;
|
|
4464
4963
|
};
|
|
4465
4964
|
content: {
|
|
4466
|
-
"application/json": components["schemas"]["
|
|
4965
|
+
"application/json": components["schemas"]["GroupList"];
|
|
4467
4966
|
};
|
|
4468
4967
|
};
|
|
4469
4968
|
/** @description Client Error */
|
|
@@ -4486,7 +4985,270 @@ declare interface operations {
|
|
|
4486
4985
|
};
|
|
4487
4986
|
};
|
|
4488
4987
|
};
|
|
4489
|
-
|
|
4988
|
+
get_analytics_trends_api_admin_analytics_trends_get: {
|
|
4989
|
+
parameters: {
|
|
4990
|
+
query?: {
|
|
4991
|
+
days?: number;
|
|
4992
|
+
source?: "human" | "service" | "all";
|
|
4993
|
+
user_ids?: string[] | null;
|
|
4994
|
+
plan_keys?: string[] | null;
|
|
4995
|
+
groups?: string[] | null;
|
|
4996
|
+
metadata?: string | null;
|
|
4997
|
+
external_user_id?: string | null;
|
|
4998
|
+
date_from?: string | null;
|
|
4999
|
+
date_to?: string | null;
|
|
5000
|
+
};
|
|
5001
|
+
header?: never;
|
|
5002
|
+
path?: never;
|
|
5003
|
+
cookie?: never;
|
|
5004
|
+
};
|
|
5005
|
+
requestBody?: never;
|
|
5006
|
+
responses: {
|
|
5007
|
+
/** @description Successful Response */
|
|
5008
|
+
200: {
|
|
5009
|
+
headers: {
|
|
5010
|
+
[name: string]: unknown;
|
|
5011
|
+
};
|
|
5012
|
+
content: {
|
|
5013
|
+
"application/json": components["schemas"]["AnalyticsTrendsDetail"];
|
|
5014
|
+
};
|
|
5015
|
+
};
|
|
5016
|
+
/** @description Client Error */
|
|
5017
|
+
"4XX": {
|
|
5018
|
+
headers: {
|
|
5019
|
+
[name: string]: unknown;
|
|
5020
|
+
};
|
|
5021
|
+
content: {
|
|
5022
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5023
|
+
};
|
|
5024
|
+
};
|
|
5025
|
+
/** @description Server Error */
|
|
5026
|
+
"5XX": {
|
|
5027
|
+
headers: {
|
|
5028
|
+
[name: string]: unknown;
|
|
5029
|
+
};
|
|
5030
|
+
content: {
|
|
5031
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5032
|
+
};
|
|
5033
|
+
};
|
|
5034
|
+
};
|
|
5035
|
+
};
|
|
5036
|
+
export_analytics_trends_api_admin_analytics_trends_export_csv_get: {
|
|
5037
|
+
parameters: {
|
|
5038
|
+
query?: {
|
|
5039
|
+
days?: number;
|
|
5040
|
+
source?: "human" | "service" | "all";
|
|
5041
|
+
user_ids?: string[] | null;
|
|
5042
|
+
plan_keys?: string[] | null;
|
|
5043
|
+
groups?: string[] | null;
|
|
5044
|
+
metadata?: string | null;
|
|
5045
|
+
external_user_id?: string | null;
|
|
5046
|
+
date_from?: string | null;
|
|
5047
|
+
date_to?: string | null;
|
|
5048
|
+
};
|
|
5049
|
+
header?: never;
|
|
5050
|
+
path?: never;
|
|
5051
|
+
cookie?: never;
|
|
5052
|
+
};
|
|
5053
|
+
requestBody?: never;
|
|
5054
|
+
responses: {
|
|
5055
|
+
/** @description Successful Response */
|
|
5056
|
+
200: {
|
|
5057
|
+
headers: {
|
|
5058
|
+
[name: string]: unknown;
|
|
5059
|
+
};
|
|
5060
|
+
content?: never;
|
|
5061
|
+
};
|
|
5062
|
+
/** @description Client Error */
|
|
5063
|
+
"4XX": {
|
|
5064
|
+
headers: {
|
|
5065
|
+
[name: string]: unknown;
|
|
5066
|
+
};
|
|
5067
|
+
content: {
|
|
5068
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5069
|
+
};
|
|
5070
|
+
};
|
|
5071
|
+
/** @description Server Error */
|
|
5072
|
+
"5XX": {
|
|
5073
|
+
headers: {
|
|
5074
|
+
[name: string]: unknown;
|
|
5075
|
+
};
|
|
5076
|
+
content: {
|
|
5077
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5078
|
+
};
|
|
5079
|
+
};
|
|
5080
|
+
};
|
|
5081
|
+
};
|
|
5082
|
+
get_analytics_usage_limits_api_admin_analytics_usage_get: {
|
|
5083
|
+
parameters: {
|
|
5084
|
+
query?: {
|
|
5085
|
+
days?: number;
|
|
5086
|
+
source?: "human" | "service" | "all";
|
|
5087
|
+
user_ids?: string[] | null;
|
|
5088
|
+
plan_keys?: string[] | null;
|
|
5089
|
+
groups?: string[] | null;
|
|
5090
|
+
metadata?: string | null;
|
|
5091
|
+
external_user_id?: string | null;
|
|
5092
|
+
date_from?: string | null;
|
|
5093
|
+
date_to?: string | null;
|
|
5094
|
+
};
|
|
5095
|
+
header?: never;
|
|
5096
|
+
path?: never;
|
|
5097
|
+
cookie?: never;
|
|
5098
|
+
};
|
|
5099
|
+
requestBody?: never;
|
|
5100
|
+
responses: {
|
|
5101
|
+
/** @description Successful Response */
|
|
5102
|
+
200: {
|
|
5103
|
+
headers: {
|
|
5104
|
+
[name: string]: unknown;
|
|
5105
|
+
};
|
|
5106
|
+
content: {
|
|
5107
|
+
"application/json": components["schemas"]["AnalyticsUsageLimits"];
|
|
5108
|
+
};
|
|
5109
|
+
};
|
|
5110
|
+
/** @description Client Error */
|
|
5111
|
+
"4XX": {
|
|
5112
|
+
headers: {
|
|
5113
|
+
[name: string]: unknown;
|
|
5114
|
+
};
|
|
5115
|
+
content: {
|
|
5116
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5117
|
+
};
|
|
5118
|
+
};
|
|
5119
|
+
/** @description Server Error */
|
|
5120
|
+
"5XX": {
|
|
5121
|
+
headers: {
|
|
5122
|
+
[name: string]: unknown;
|
|
5123
|
+
};
|
|
5124
|
+
content: {
|
|
5125
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5126
|
+
};
|
|
5127
|
+
};
|
|
5128
|
+
};
|
|
5129
|
+
};
|
|
5130
|
+
search_analytics_users_api_admin_analytics_users_get: {
|
|
5131
|
+
parameters: {
|
|
5132
|
+
query?: {
|
|
5133
|
+
query?: string;
|
|
5134
|
+
limit?: number;
|
|
5135
|
+
};
|
|
5136
|
+
header?: never;
|
|
5137
|
+
path?: never;
|
|
5138
|
+
cookie?: never;
|
|
5139
|
+
};
|
|
5140
|
+
requestBody?: never;
|
|
5141
|
+
responses: {
|
|
5142
|
+
/** @description Successful Response */
|
|
5143
|
+
200: {
|
|
5144
|
+
headers: {
|
|
5145
|
+
[name: string]: unknown;
|
|
5146
|
+
};
|
|
5147
|
+
content: {
|
|
5148
|
+
"application/json": components["schemas"]["UserOptionList"];
|
|
5149
|
+
};
|
|
5150
|
+
};
|
|
5151
|
+
/** @description Client Error */
|
|
5152
|
+
"4XX": {
|
|
5153
|
+
headers: {
|
|
5154
|
+
[name: string]: unknown;
|
|
5155
|
+
};
|
|
5156
|
+
content: {
|
|
5157
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5158
|
+
};
|
|
5159
|
+
};
|
|
5160
|
+
/** @description Server Error */
|
|
5161
|
+
"5XX": {
|
|
5162
|
+
headers: {
|
|
5163
|
+
[name: string]: unknown;
|
|
5164
|
+
};
|
|
5165
|
+
content: {
|
|
5166
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5167
|
+
};
|
|
5168
|
+
};
|
|
5169
|
+
};
|
|
5170
|
+
};
|
|
5171
|
+
list_api_keys_api_admin_api_keys_get: {
|
|
5172
|
+
parameters: {
|
|
5173
|
+
query?: never;
|
|
5174
|
+
header?: never;
|
|
5175
|
+
path?: never;
|
|
5176
|
+
cookie?: never;
|
|
5177
|
+
};
|
|
5178
|
+
requestBody?: never;
|
|
5179
|
+
responses: {
|
|
5180
|
+
/** @description Successful Response */
|
|
5181
|
+
200: {
|
|
5182
|
+
headers: {
|
|
5183
|
+
[name: string]: unknown;
|
|
5184
|
+
};
|
|
5185
|
+
content: {
|
|
5186
|
+
"application/json": components["schemas"]["ApiKeyList"];
|
|
5187
|
+
};
|
|
5188
|
+
};
|
|
5189
|
+
/** @description Client Error */
|
|
5190
|
+
"4XX": {
|
|
5191
|
+
headers: {
|
|
5192
|
+
[name: string]: unknown;
|
|
5193
|
+
};
|
|
5194
|
+
content: {
|
|
5195
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5196
|
+
};
|
|
5197
|
+
};
|
|
5198
|
+
/** @description Server Error */
|
|
5199
|
+
"5XX": {
|
|
5200
|
+
headers: {
|
|
5201
|
+
[name: string]: unknown;
|
|
5202
|
+
};
|
|
5203
|
+
content: {
|
|
5204
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5205
|
+
};
|
|
5206
|
+
};
|
|
5207
|
+
};
|
|
5208
|
+
};
|
|
5209
|
+
create_api_key_api_admin_api_keys_post: {
|
|
5210
|
+
parameters: {
|
|
5211
|
+
query?: never;
|
|
5212
|
+
header?: never;
|
|
5213
|
+
path?: never;
|
|
5214
|
+
cookie?: never;
|
|
5215
|
+
};
|
|
5216
|
+
requestBody: {
|
|
5217
|
+
content: {
|
|
5218
|
+
"application/json": components["schemas"]["ApiKeyCreateInput"];
|
|
5219
|
+
};
|
|
5220
|
+
};
|
|
5221
|
+
responses: {
|
|
5222
|
+
/** @description Successful Response */
|
|
5223
|
+
201: {
|
|
5224
|
+
headers: {
|
|
5225
|
+
[name: string]: unknown;
|
|
5226
|
+
};
|
|
5227
|
+
content: {
|
|
5228
|
+
"application/json": components["schemas"]["ApiKeyCreated"];
|
|
5229
|
+
};
|
|
5230
|
+
};
|
|
5231
|
+
/** @description Client Error */
|
|
5232
|
+
"4XX": {
|
|
5233
|
+
headers: {
|
|
5234
|
+
[name: string]: unknown;
|
|
5235
|
+
};
|
|
5236
|
+
content: {
|
|
5237
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5238
|
+
};
|
|
5239
|
+
};
|
|
5240
|
+
/** @description Server Error */
|
|
5241
|
+
"5XX": {
|
|
5242
|
+
headers: {
|
|
5243
|
+
[name: string]: unknown;
|
|
5244
|
+
};
|
|
5245
|
+
content: {
|
|
5246
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5247
|
+
};
|
|
5248
|
+
};
|
|
5249
|
+
};
|
|
5250
|
+
};
|
|
5251
|
+
revoke_api_key_api_admin_api_keys__key_id__revoke_post: {
|
|
4490
5252
|
parameters: {
|
|
4491
5253
|
query?: never;
|
|
4492
5254
|
header?: never;
|
|
@@ -5384,14 +6146,186 @@ declare interface operations {
|
|
|
5384
6146
|
};
|
|
5385
6147
|
};
|
|
5386
6148
|
};
|
|
5387
|
-
list_plans_api_admin_plans_get: {
|
|
6149
|
+
list_plans_api_admin_plans_get: {
|
|
6150
|
+
parameters: {
|
|
6151
|
+
query?: never;
|
|
6152
|
+
header?: never;
|
|
6153
|
+
path?: never;
|
|
6154
|
+
cookie?: never;
|
|
6155
|
+
};
|
|
6156
|
+
requestBody?: never;
|
|
6157
|
+
responses: {
|
|
6158
|
+
/** @description Successful Response */
|
|
6159
|
+
200: {
|
|
6160
|
+
headers: {
|
|
6161
|
+
[name: string]: unknown;
|
|
6162
|
+
};
|
|
6163
|
+
content: {
|
|
6164
|
+
"application/json": components["schemas"]["AdminPlanList"];
|
|
6165
|
+
};
|
|
6166
|
+
};
|
|
6167
|
+
/** @description Client Error */
|
|
6168
|
+
"4XX": {
|
|
6169
|
+
headers: {
|
|
6170
|
+
[name: string]: unknown;
|
|
6171
|
+
};
|
|
6172
|
+
content: {
|
|
6173
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6174
|
+
};
|
|
6175
|
+
};
|
|
6176
|
+
/** @description Server Error */
|
|
6177
|
+
"5XX": {
|
|
6178
|
+
headers: {
|
|
6179
|
+
[name: string]: unknown;
|
|
6180
|
+
};
|
|
6181
|
+
content: {
|
|
6182
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6183
|
+
};
|
|
6184
|
+
};
|
|
6185
|
+
};
|
|
6186
|
+
};
|
|
6187
|
+
create_plan_api_admin_plans_post: {
|
|
6188
|
+
parameters: {
|
|
6189
|
+
query?: never;
|
|
6190
|
+
header?: never;
|
|
6191
|
+
path?: never;
|
|
6192
|
+
cookie?: never;
|
|
6193
|
+
};
|
|
6194
|
+
requestBody: {
|
|
6195
|
+
content: {
|
|
6196
|
+
"application/json": components["schemas"]["PlanInput"];
|
|
6197
|
+
};
|
|
6198
|
+
};
|
|
6199
|
+
responses: {
|
|
6200
|
+
/** @description Successful Response */
|
|
6201
|
+
201: {
|
|
6202
|
+
headers: {
|
|
6203
|
+
[name: string]: unknown;
|
|
6204
|
+
};
|
|
6205
|
+
content: {
|
|
6206
|
+
"application/json": components["schemas"]["AdminPlanView"];
|
|
6207
|
+
};
|
|
6208
|
+
};
|
|
6209
|
+
/** @description Client Error */
|
|
6210
|
+
"4XX": {
|
|
6211
|
+
headers: {
|
|
6212
|
+
[name: string]: unknown;
|
|
6213
|
+
};
|
|
6214
|
+
content: {
|
|
6215
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6216
|
+
};
|
|
6217
|
+
};
|
|
6218
|
+
/** @description Server Error */
|
|
6219
|
+
"5XX": {
|
|
6220
|
+
headers: {
|
|
6221
|
+
[name: string]: unknown;
|
|
6222
|
+
};
|
|
6223
|
+
content: {
|
|
6224
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6225
|
+
};
|
|
6226
|
+
};
|
|
6227
|
+
};
|
|
6228
|
+
};
|
|
6229
|
+
delete_plan_api_admin_plans__key__delete: {
|
|
6230
|
+
parameters: {
|
|
6231
|
+
query?: {
|
|
6232
|
+
replace_with?: string | null;
|
|
6233
|
+
};
|
|
6234
|
+
header?: never;
|
|
6235
|
+
path: {
|
|
6236
|
+
key: string;
|
|
6237
|
+
};
|
|
6238
|
+
cookie?: never;
|
|
6239
|
+
};
|
|
6240
|
+
requestBody?: never;
|
|
6241
|
+
responses: {
|
|
6242
|
+
/** @description Successful Response */
|
|
6243
|
+
200: {
|
|
6244
|
+
headers: {
|
|
6245
|
+
[name: string]: unknown;
|
|
6246
|
+
};
|
|
6247
|
+
content: {
|
|
6248
|
+
"application/json": components["schemas"]["PlanDeleteResponse"];
|
|
6249
|
+
};
|
|
6250
|
+
};
|
|
6251
|
+
/** @description Client Error */
|
|
6252
|
+
"4XX": {
|
|
6253
|
+
headers: {
|
|
6254
|
+
[name: string]: unknown;
|
|
6255
|
+
};
|
|
6256
|
+
content: {
|
|
6257
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6258
|
+
};
|
|
6259
|
+
};
|
|
6260
|
+
/** @description Server Error */
|
|
6261
|
+
"5XX": {
|
|
6262
|
+
headers: {
|
|
6263
|
+
[name: string]: unknown;
|
|
6264
|
+
};
|
|
6265
|
+
content: {
|
|
6266
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6267
|
+
};
|
|
6268
|
+
};
|
|
6269
|
+
};
|
|
6270
|
+
};
|
|
6271
|
+
update_plan_api_admin_plans__key__patch: {
|
|
6272
|
+
parameters: {
|
|
6273
|
+
query?: never;
|
|
6274
|
+
header?: never;
|
|
6275
|
+
path: {
|
|
6276
|
+
key: string;
|
|
6277
|
+
};
|
|
6278
|
+
cookie?: never;
|
|
6279
|
+
};
|
|
6280
|
+
requestBody: {
|
|
6281
|
+
content: {
|
|
6282
|
+
"application/json": components["schemas"]["PlanUpdateInput"];
|
|
6283
|
+
};
|
|
6284
|
+
};
|
|
6285
|
+
responses: {
|
|
6286
|
+
/** @description Successful Response */
|
|
6287
|
+
200: {
|
|
6288
|
+
headers: {
|
|
6289
|
+
[name: string]: unknown;
|
|
6290
|
+
};
|
|
6291
|
+
content: {
|
|
6292
|
+
"application/json": components["schemas"]["AdminPlanView"];
|
|
6293
|
+
};
|
|
6294
|
+
};
|
|
6295
|
+
/** @description Client Error */
|
|
6296
|
+
"4XX": {
|
|
6297
|
+
headers: {
|
|
6298
|
+
[name: string]: unknown;
|
|
6299
|
+
};
|
|
6300
|
+
content: {
|
|
6301
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6302
|
+
};
|
|
6303
|
+
};
|
|
6304
|
+
/** @description Server Error */
|
|
6305
|
+
"5XX": {
|
|
6306
|
+
headers: {
|
|
6307
|
+
[name: string]: unknown;
|
|
6308
|
+
};
|
|
6309
|
+
content: {
|
|
6310
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6311
|
+
};
|
|
6312
|
+
};
|
|
6313
|
+
};
|
|
6314
|
+
};
|
|
6315
|
+
set_plan_features_api_admin_plans__key__features_put: {
|
|
5388
6316
|
parameters: {
|
|
5389
6317
|
query?: never;
|
|
5390
6318
|
header?: never;
|
|
5391
|
-
path
|
|
6319
|
+
path: {
|
|
6320
|
+
key: string;
|
|
6321
|
+
};
|
|
5392
6322
|
cookie?: never;
|
|
5393
6323
|
};
|
|
5394
|
-
requestBody
|
|
6324
|
+
requestBody: {
|
|
6325
|
+
content: {
|
|
6326
|
+
"application/json": components["schemas"]["PlanFeaturesInput"];
|
|
6327
|
+
};
|
|
6328
|
+
};
|
|
5395
6329
|
responses: {
|
|
5396
6330
|
/** @description Successful Response */
|
|
5397
6331
|
200: {
|
|
@@ -5399,7 +6333,7 @@ declare interface operations {
|
|
|
5399
6333
|
[name: string]: unknown;
|
|
5400
6334
|
};
|
|
5401
6335
|
content: {
|
|
5402
|
-
"application/json": components["schemas"]["
|
|
6336
|
+
"application/json": components["schemas"]["AdminPlanView"];
|
|
5403
6337
|
};
|
|
5404
6338
|
};
|
|
5405
6339
|
/** @description Client Error */
|
|
@@ -5422,26 +6356,29 @@ declare interface operations {
|
|
|
5422
6356
|
};
|
|
5423
6357
|
};
|
|
5424
6358
|
};
|
|
5425
|
-
|
|
6359
|
+
list_reports_api_admin_reports_get: {
|
|
5426
6360
|
parameters: {
|
|
5427
|
-
query?:
|
|
6361
|
+
query?: {
|
|
6362
|
+
skip?: number;
|
|
6363
|
+
limit?: number;
|
|
6364
|
+
category?: ("bug" | "feature" | "other") | null;
|
|
6365
|
+
status?: ("open" | "resolved") | null;
|
|
6366
|
+
user_id?: string | null;
|
|
6367
|
+
query?: string | null;
|
|
6368
|
+
};
|
|
5428
6369
|
header?: never;
|
|
5429
6370
|
path?: never;
|
|
5430
6371
|
cookie?: never;
|
|
5431
6372
|
};
|
|
5432
|
-
requestBody
|
|
5433
|
-
content: {
|
|
5434
|
-
"application/json": components["schemas"]["PlanInput"];
|
|
5435
|
-
};
|
|
5436
|
-
};
|
|
6373
|
+
requestBody?: never;
|
|
5437
6374
|
responses: {
|
|
5438
6375
|
/** @description Successful Response */
|
|
5439
|
-
|
|
6376
|
+
200: {
|
|
5440
6377
|
headers: {
|
|
5441
6378
|
[name: string]: unknown;
|
|
5442
6379
|
};
|
|
5443
6380
|
content: {
|
|
5444
|
-
"application/json": components["schemas"]["
|
|
6381
|
+
"application/json": components["schemas"]["AdminReportList"];
|
|
5445
6382
|
};
|
|
5446
6383
|
};
|
|
5447
6384
|
/** @description Client Error */
|
|
@@ -5464,14 +6401,12 @@ declare interface operations {
|
|
|
5464
6401
|
};
|
|
5465
6402
|
};
|
|
5466
6403
|
};
|
|
5467
|
-
|
|
6404
|
+
delete_report_api_admin_reports__report_id__delete: {
|
|
5468
6405
|
parameters: {
|
|
5469
|
-
query?:
|
|
5470
|
-
replace_with?: string | null;
|
|
5471
|
-
};
|
|
6406
|
+
query?: never;
|
|
5472
6407
|
header?: never;
|
|
5473
6408
|
path: {
|
|
5474
|
-
|
|
6409
|
+
report_id: string;
|
|
5475
6410
|
};
|
|
5476
6411
|
cookie?: never;
|
|
5477
6412
|
};
|
|
@@ -5483,7 +6418,7 @@ declare interface operations {
|
|
|
5483
6418
|
[name: string]: unknown;
|
|
5484
6419
|
};
|
|
5485
6420
|
content: {
|
|
5486
|
-
"application/json": components["schemas"]["
|
|
6421
|
+
"application/json": components["schemas"]["StatusMessageResponse"];
|
|
5487
6422
|
};
|
|
5488
6423
|
};
|
|
5489
6424
|
/** @description Client Error */
|
|
@@ -5506,18 +6441,18 @@ declare interface operations {
|
|
|
5506
6441
|
};
|
|
5507
6442
|
};
|
|
5508
6443
|
};
|
|
5509
|
-
|
|
6444
|
+
update_report_status_api_admin_reports__report_id__patch: {
|
|
5510
6445
|
parameters: {
|
|
5511
6446
|
query?: never;
|
|
5512
6447
|
header?: never;
|
|
5513
6448
|
path: {
|
|
5514
|
-
|
|
6449
|
+
report_id: string;
|
|
5515
6450
|
};
|
|
5516
6451
|
cookie?: never;
|
|
5517
6452
|
};
|
|
5518
6453
|
requestBody: {
|
|
5519
6454
|
content: {
|
|
5520
|
-
"application/json": components["schemas"]["
|
|
6455
|
+
"application/json": components["schemas"]["AdminReportUpdateInput"];
|
|
5521
6456
|
};
|
|
5522
6457
|
};
|
|
5523
6458
|
responses: {
|
|
@@ -5527,7 +6462,7 @@ declare interface operations {
|
|
|
5527
6462
|
[name: string]: unknown;
|
|
5528
6463
|
};
|
|
5529
6464
|
content: {
|
|
5530
|
-
"application/json": components["schemas"]["
|
|
6465
|
+
"application/json": components["schemas"]["AdminReportRow"];
|
|
5531
6466
|
};
|
|
5532
6467
|
};
|
|
5533
6468
|
/** @description Client Error */
|
|
@@ -5550,28 +6485,24 @@ declare interface operations {
|
|
|
5550
6485
|
};
|
|
5551
6486
|
};
|
|
5552
6487
|
};
|
|
5553
|
-
|
|
6488
|
+
get_report_attachment_api_admin_reports__report_id__attachment_get: {
|
|
5554
6489
|
parameters: {
|
|
5555
6490
|
query?: never;
|
|
5556
6491
|
header?: never;
|
|
5557
6492
|
path: {
|
|
5558
|
-
|
|
6493
|
+
report_id: string;
|
|
5559
6494
|
};
|
|
5560
6495
|
cookie?: never;
|
|
5561
6496
|
};
|
|
5562
|
-
requestBody
|
|
5563
|
-
content: {
|
|
5564
|
-
"application/json": components["schemas"]["PlanFeaturesInput"];
|
|
5565
|
-
};
|
|
5566
|
-
};
|
|
6497
|
+
requestBody?: never;
|
|
5567
6498
|
responses: {
|
|
5568
|
-
/** @description
|
|
6499
|
+
/** @description The file, with the media type it was stored with */
|
|
5569
6500
|
200: {
|
|
5570
6501
|
headers: {
|
|
5571
6502
|
[name: string]: unknown;
|
|
5572
6503
|
};
|
|
5573
6504
|
content: {
|
|
5574
|
-
"application/
|
|
6505
|
+
"application/octet-stream": unknown;
|
|
5575
6506
|
};
|
|
5576
6507
|
};
|
|
5577
6508
|
/** @description Client Error */
|
|
@@ -7934,6 +8865,48 @@ declare interface operations {
|
|
|
7934
8865
|
};
|
|
7935
8866
|
};
|
|
7936
8867
|
};
|
|
8868
|
+
submit_user_report_api_users_me_reports_post: {
|
|
8869
|
+
parameters: {
|
|
8870
|
+
query?: never;
|
|
8871
|
+
header?: never;
|
|
8872
|
+
path?: never;
|
|
8873
|
+
cookie?: never;
|
|
8874
|
+
};
|
|
8875
|
+
requestBody: {
|
|
8876
|
+
content: {
|
|
8877
|
+
"application/json": components["schemas"]["UserReportCreateInput"];
|
|
8878
|
+
};
|
|
8879
|
+
};
|
|
8880
|
+
responses: {
|
|
8881
|
+
/** @description Successful Response */
|
|
8882
|
+
201: {
|
|
8883
|
+
headers: {
|
|
8884
|
+
[name: string]: unknown;
|
|
8885
|
+
};
|
|
8886
|
+
content: {
|
|
8887
|
+
"application/json": components["schemas"]["UserReportResponse"];
|
|
8888
|
+
};
|
|
8889
|
+
};
|
|
8890
|
+
/** @description Client Error */
|
|
8891
|
+
"4XX": {
|
|
8892
|
+
headers: {
|
|
8893
|
+
[name: string]: unknown;
|
|
8894
|
+
};
|
|
8895
|
+
content: {
|
|
8896
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8897
|
+
};
|
|
8898
|
+
};
|
|
8899
|
+
/** @description Server Error */
|
|
8900
|
+
"5XX": {
|
|
8901
|
+
headers: {
|
|
8902
|
+
[name: string]: unknown;
|
|
8903
|
+
};
|
|
8904
|
+
content: {
|
|
8905
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8906
|
+
};
|
|
8907
|
+
};
|
|
8908
|
+
};
|
|
8909
|
+
};
|
|
7937
8910
|
health_check_health_get: {
|
|
7938
8911
|
parameters: {
|
|
7939
8912
|
query?: never;
|
|
@@ -8100,6 +9073,66 @@ declare interface paths {
|
|
|
8100
9073
|
patch?: never;
|
|
8101
9074
|
trace?: never;
|
|
8102
9075
|
};
|
|
9076
|
+
"/api/admin/analytics/engagement": {
|
|
9077
|
+
parameters: {
|
|
9078
|
+
query?: never;
|
|
9079
|
+
header?: never;
|
|
9080
|
+
path?: never;
|
|
9081
|
+
cookie?: never;
|
|
9082
|
+
};
|
|
9083
|
+
/**
|
|
9084
|
+
* Get Analytics Engagement
|
|
9085
|
+
* @description User-level engagement metrics, lifecycle stages, reach, growth accounting, and activity heatmap.
|
|
9086
|
+
*/
|
|
9087
|
+
get: operations["get_analytics_engagement_api_admin_analytics_engagement_get"];
|
|
9088
|
+
put?: never;
|
|
9089
|
+
post?: never;
|
|
9090
|
+
delete?: never;
|
|
9091
|
+
options?: never;
|
|
9092
|
+
head?: never;
|
|
9093
|
+
patch?: never;
|
|
9094
|
+
trace?: never;
|
|
9095
|
+
};
|
|
9096
|
+
"/api/admin/analytics/engagement/users": {
|
|
9097
|
+
parameters: {
|
|
9098
|
+
query?: never;
|
|
9099
|
+
header?: never;
|
|
9100
|
+
path?: never;
|
|
9101
|
+
cookie?: never;
|
|
9102
|
+
};
|
|
9103
|
+
/**
|
|
9104
|
+
* Get Analytics Engagement Users
|
|
9105
|
+
* @description Paginated users matching an engagement stage, frequency level, and/or session depth.
|
|
9106
|
+
*/
|
|
9107
|
+
get: operations["get_analytics_engagement_users_api_admin_analytics_engagement_users_get"];
|
|
9108
|
+
put?: never;
|
|
9109
|
+
post?: never;
|
|
9110
|
+
delete?: never;
|
|
9111
|
+
options?: never;
|
|
9112
|
+
head?: never;
|
|
9113
|
+
patch?: never;
|
|
9114
|
+
trace?: never;
|
|
9115
|
+
};
|
|
9116
|
+
"/api/admin/analytics/engagement/users/export.csv": {
|
|
9117
|
+
parameters: {
|
|
9118
|
+
query?: never;
|
|
9119
|
+
header?: never;
|
|
9120
|
+
path?: never;
|
|
9121
|
+
cookie?: never;
|
|
9122
|
+
};
|
|
9123
|
+
/**
|
|
9124
|
+
* Export Analytics Engagement Users
|
|
9125
|
+
* @description Export matching engagement users as CSV.
|
|
9126
|
+
*/
|
|
9127
|
+
get: operations["export_analytics_engagement_users_api_admin_analytics_engagement_users_export_csv_get"];
|
|
9128
|
+
put?: never;
|
|
9129
|
+
post?: never;
|
|
9130
|
+
delete?: never;
|
|
9131
|
+
options?: never;
|
|
9132
|
+
head?: never;
|
|
9133
|
+
patch?: never;
|
|
9134
|
+
trace?: never;
|
|
9135
|
+
};
|
|
8103
9136
|
"/api/admin/analytics/filter-options": {
|
|
8104
9137
|
parameters: {
|
|
8105
9138
|
query?: never;
|
|
@@ -8140,6 +9173,66 @@ declare interface paths {
|
|
|
8140
9173
|
patch?: never;
|
|
8141
9174
|
trace?: never;
|
|
8142
9175
|
};
|
|
9176
|
+
"/api/admin/analytics/trends": {
|
|
9177
|
+
parameters: {
|
|
9178
|
+
query?: never;
|
|
9179
|
+
header?: never;
|
|
9180
|
+
path?: never;
|
|
9181
|
+
cookie?: never;
|
|
9182
|
+
};
|
|
9183
|
+
/**
|
|
9184
|
+
* Get Analytics Trends
|
|
9185
|
+
* @description Detailed daily operational & product trends, with per-plan tier breakdown when Billing is active.
|
|
9186
|
+
*/
|
|
9187
|
+
get: operations["get_analytics_trends_api_admin_analytics_trends_get"];
|
|
9188
|
+
put?: never;
|
|
9189
|
+
post?: never;
|
|
9190
|
+
delete?: never;
|
|
9191
|
+
options?: never;
|
|
9192
|
+
head?: never;
|
|
9193
|
+
patch?: never;
|
|
9194
|
+
trace?: never;
|
|
9195
|
+
};
|
|
9196
|
+
"/api/admin/analytics/trends/export.csv": {
|
|
9197
|
+
parameters: {
|
|
9198
|
+
query?: never;
|
|
9199
|
+
header?: never;
|
|
9200
|
+
path?: never;
|
|
9201
|
+
cookie?: never;
|
|
9202
|
+
};
|
|
9203
|
+
/**
|
|
9204
|
+
* Export Analytics Trends
|
|
9205
|
+
* @description Export daily operational trends as CSV.
|
|
9206
|
+
*/
|
|
9207
|
+
get: operations["export_analytics_trends_api_admin_analytics_trends_export_csv_get"];
|
|
9208
|
+
put?: never;
|
|
9209
|
+
post?: never;
|
|
9210
|
+
delete?: never;
|
|
9211
|
+
options?: never;
|
|
9212
|
+
head?: never;
|
|
9213
|
+
patch?: never;
|
|
9214
|
+
trace?: never;
|
|
9215
|
+
};
|
|
9216
|
+
"/api/admin/analytics/usage": {
|
|
9217
|
+
parameters: {
|
|
9218
|
+
query?: never;
|
|
9219
|
+
header?: never;
|
|
9220
|
+
path?: never;
|
|
9221
|
+
cookie?: never;
|
|
9222
|
+
};
|
|
9223
|
+
/**
|
|
9224
|
+
* Get Analytics Usage Limits
|
|
9225
|
+
* @description Per-plan peak window utilization histograms and daily percentiles against configured limits.
|
|
9226
|
+
*/
|
|
9227
|
+
get: operations["get_analytics_usage_limits_api_admin_analytics_usage_get"];
|
|
9228
|
+
put?: never;
|
|
9229
|
+
post?: never;
|
|
9230
|
+
delete?: never;
|
|
9231
|
+
options?: never;
|
|
9232
|
+
head?: never;
|
|
9233
|
+
patch?: never;
|
|
9234
|
+
trace?: never;
|
|
9235
|
+
};
|
|
8143
9236
|
"/api/admin/analytics/users": {
|
|
8144
9237
|
parameters: {
|
|
8145
9238
|
query?: never;
|
|
@@ -8712,6 +9805,70 @@ declare interface paths {
|
|
|
8712
9805
|
patch?: never;
|
|
8713
9806
|
trace?: never;
|
|
8714
9807
|
};
|
|
9808
|
+
"/api/admin/reports": {
|
|
9809
|
+
parameters: {
|
|
9810
|
+
query?: never;
|
|
9811
|
+
header?: never;
|
|
9812
|
+
path?: never;
|
|
9813
|
+
cookie?: never;
|
|
9814
|
+
};
|
|
9815
|
+
/**
|
|
9816
|
+
* List Reports
|
|
9817
|
+
* @description List user-submitted feedback reports, newest first.
|
|
9818
|
+
*/
|
|
9819
|
+
get: operations["list_reports_api_admin_reports_get"];
|
|
9820
|
+
put?: never;
|
|
9821
|
+
post?: never;
|
|
9822
|
+
delete?: never;
|
|
9823
|
+
options?: never;
|
|
9824
|
+
head?: never;
|
|
9825
|
+
patch?: never;
|
|
9826
|
+
trace?: never;
|
|
9827
|
+
};
|
|
9828
|
+
"/api/admin/reports/{report_id}": {
|
|
9829
|
+
parameters: {
|
|
9830
|
+
query?: never;
|
|
9831
|
+
header?: never;
|
|
9832
|
+
path?: never;
|
|
9833
|
+
cookie?: never;
|
|
9834
|
+
};
|
|
9835
|
+
get?: never;
|
|
9836
|
+
put?: never;
|
|
9837
|
+
post?: never;
|
|
9838
|
+
/**
|
|
9839
|
+
* Delete Report
|
|
9840
|
+
* @description Delete a user report and any attachment it claimed.
|
|
9841
|
+
*/
|
|
9842
|
+
delete: operations["delete_report_api_admin_reports__report_id__delete"];
|
|
9843
|
+
options?: never;
|
|
9844
|
+
head?: never;
|
|
9845
|
+
/**
|
|
9846
|
+
* Update Report Status
|
|
9847
|
+
* @description Mark a report open or resolved.
|
|
9848
|
+
*/
|
|
9849
|
+
patch: operations["update_report_status_api_admin_reports__report_id__patch"];
|
|
9850
|
+
trace?: never;
|
|
9851
|
+
};
|
|
9852
|
+
"/api/admin/reports/{report_id}/attachment": {
|
|
9853
|
+
parameters: {
|
|
9854
|
+
query?: never;
|
|
9855
|
+
header?: never;
|
|
9856
|
+
path?: never;
|
|
9857
|
+
cookie?: never;
|
|
9858
|
+
};
|
|
9859
|
+
/**
|
|
9860
|
+
* Get Report Attachment
|
|
9861
|
+
* @description Serve the file attached to a user report.
|
|
9862
|
+
*/
|
|
9863
|
+
get: operations["get_report_attachment_api_admin_reports__report_id__attachment_get"];
|
|
9864
|
+
put?: never;
|
|
9865
|
+
post?: never;
|
|
9866
|
+
delete?: never;
|
|
9867
|
+
options?: never;
|
|
9868
|
+
head?: never;
|
|
9869
|
+
patch?: never;
|
|
9870
|
+
trace?: never;
|
|
9871
|
+
};
|
|
8715
9872
|
"/api/admin/settings": {
|
|
8716
9873
|
parameters: {
|
|
8717
9874
|
query?: never;
|
|
@@ -9749,6 +10906,26 @@ declare interface paths {
|
|
|
9749
10906
|
patch?: never;
|
|
9750
10907
|
trace?: never;
|
|
9751
10908
|
};
|
|
10909
|
+
"/api/users/me/reports": {
|
|
10910
|
+
parameters: {
|
|
10911
|
+
query?: never;
|
|
10912
|
+
header?: never;
|
|
10913
|
+
path?: never;
|
|
10914
|
+
cookie?: never;
|
|
10915
|
+
};
|
|
10916
|
+
get?: never;
|
|
10917
|
+
put?: never;
|
|
10918
|
+
/**
|
|
10919
|
+
* Submit User Report
|
|
10920
|
+
* @description Submit a bug report, feature request or general feedback from the signed-in user.
|
|
10921
|
+
*/
|
|
10922
|
+
post: operations["submit_user_report_api_users_me_reports_post"];
|
|
10923
|
+
delete?: never;
|
|
10924
|
+
options?: never;
|
|
10925
|
+
head?: never;
|
|
10926
|
+
patch?: never;
|
|
10927
|
+
trace?: never;
|
|
10928
|
+
};
|
|
9752
10929
|
"/health": {
|
|
9753
10930
|
parameters: {
|
|
9754
10931
|
query?: never;
|
|
@@ -10114,6 +11291,9 @@ declare interface UploadInit {
|
|
|
10114
11291
|
onProgress?: (fraction: number) => void;
|
|
10115
11292
|
}
|
|
10116
11293
|
|
|
11294
|
+
/** Request body for `POST /users/me/reports`. */
|
|
11295
|
+
declare type UserReportInput = Schemas['UserReportCreateInput'];
|
|
11296
|
+
|
|
10117
11297
|
/**
|
|
10118
11298
|
* Something about a dictation the user should hear of:
|
|
10119
11299
|
* - `mic_denied`, `mic_missing`, `mic_error`: the microphone couldn't be opened.
|