@gentiq/core 1.0.0-alpha.8 → 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 +1267 -62
- package/dist/index.es.js +27 -25
- package/dist/internal.d.ts +1257 -64
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -354,6 +354,18 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
354
354
|
getStatus: (signal?: AbortSignal) => Promise<{
|
|
355
355
|
maintenance: components["schemas"]["MaintenanceNotice"];
|
|
356
356
|
}>;
|
|
357
|
+
/** Submit a bug report, feature request or general feedback from the signed-in user. */
|
|
358
|
+
submitUserReport: (data: UserReportInput, signal?: AbortSignal) => Promise<{
|
|
359
|
+
attachment_filename?: string | null;
|
|
360
|
+
attachment_id?: string | null;
|
|
361
|
+
attachment_media_type?: string | null;
|
|
362
|
+
category: "bug" | "feature" | "other";
|
|
363
|
+
created_at: string;
|
|
364
|
+
description: string;
|
|
365
|
+
id: string;
|
|
366
|
+
status: "open" | "resolved";
|
|
367
|
+
subject: string;
|
|
368
|
+
}>;
|
|
357
369
|
};
|
|
358
370
|
|
|
359
371
|
/**
|
|
@@ -685,6 +697,73 @@ declare interface components {
|
|
|
685
697
|
/** Username */
|
|
686
698
|
username: string;
|
|
687
699
|
};
|
|
700
|
+
/** AdminReportList */
|
|
701
|
+
AdminReportList: {
|
|
702
|
+
/** Count */
|
|
703
|
+
count: number;
|
|
704
|
+
/** Open Count */
|
|
705
|
+
open_count: number;
|
|
706
|
+
/** Reports */
|
|
707
|
+
reports: components["schemas"]["AdminReportRow"][];
|
|
708
|
+
};
|
|
709
|
+
/** AdminReportRow */
|
|
710
|
+
AdminReportRow: {
|
|
711
|
+
/** Attachment Filename */
|
|
712
|
+
attachment_filename?: string | null;
|
|
713
|
+
/** Attachment Id */
|
|
714
|
+
attachment_id?: string | null;
|
|
715
|
+
/** Attachment Media Type */
|
|
716
|
+
attachment_media_type?: string | null;
|
|
717
|
+
/**
|
|
718
|
+
* Category
|
|
719
|
+
* @enum {string}
|
|
720
|
+
*/
|
|
721
|
+
category: "bug" | "feature" | "other";
|
|
722
|
+
/**
|
|
723
|
+
* Created At
|
|
724
|
+
* Format: date-time
|
|
725
|
+
*/
|
|
726
|
+
created_at: string;
|
|
727
|
+
/** Description */
|
|
728
|
+
description: string;
|
|
729
|
+
/** Id */
|
|
730
|
+
id: string;
|
|
731
|
+
/**
|
|
732
|
+
* Status
|
|
733
|
+
* @enum {string}
|
|
734
|
+
*/
|
|
735
|
+
status: "open" | "resolved";
|
|
736
|
+
/** Subject */
|
|
737
|
+
subject: string;
|
|
738
|
+
/** Updated At */
|
|
739
|
+
updated_at?: string | null;
|
|
740
|
+
user?: components["schemas"]["AdminReportUser"] | null;
|
|
741
|
+
/** User Id */
|
|
742
|
+
user_id: string;
|
|
743
|
+
};
|
|
744
|
+
/** AdminReportUpdateInput */
|
|
745
|
+
AdminReportUpdateInput: {
|
|
746
|
+
/**
|
|
747
|
+
* Status
|
|
748
|
+
* @enum {string}
|
|
749
|
+
*/
|
|
750
|
+
status: "open" | "resolved";
|
|
751
|
+
};
|
|
752
|
+
/** AdminReportUser */
|
|
753
|
+
AdminReportUser: {
|
|
754
|
+
/** Email */
|
|
755
|
+
email?: string | null;
|
|
756
|
+
/** Id */
|
|
757
|
+
id: string;
|
|
758
|
+
/** Name */
|
|
759
|
+
name: string;
|
|
760
|
+
/** Phone */
|
|
761
|
+
phone?: string | null;
|
|
762
|
+
/** Surname */
|
|
763
|
+
surname?: string | null;
|
|
764
|
+
/** Username */
|
|
765
|
+
username?: string | null;
|
|
766
|
+
};
|
|
688
767
|
/**
|
|
689
768
|
* AdminSession
|
|
690
769
|
* @description The signed-in admin as the store holds it now, not as the token described it.
|
|
@@ -959,6 +1038,40 @@ declare interface components {
|
|
|
959
1038
|
overview: components["schemas"]["AnalyticsOverview"];
|
|
960
1039
|
trends: components["schemas"]["AnalyticsTrends"];
|
|
961
1040
|
};
|
|
1041
|
+
/** AnalyticsEngagement */
|
|
1042
|
+
AnalyticsEngagement: {
|
|
1043
|
+
/** Active Days */
|
|
1044
|
+
active_days: components["schemas"]["CountBin"][];
|
|
1045
|
+
/** Daily */
|
|
1046
|
+
daily: components["schemas"]["EngagementDay"][];
|
|
1047
|
+
/** Growth */
|
|
1048
|
+
growth: components["schemas"]["GrowthBucket"][];
|
|
1049
|
+
/** Heatmap */
|
|
1050
|
+
heatmap: number[][];
|
|
1051
|
+
/** Hourly */
|
|
1052
|
+
hourly?: components["schemas"]["EngagementHour"][] | null;
|
|
1053
|
+
/** Levels */
|
|
1054
|
+
levels: {
|
|
1055
|
+
[key: string]: number;
|
|
1056
|
+
};
|
|
1057
|
+
/** Matrix */
|
|
1058
|
+
matrix: {
|
|
1059
|
+
[key: string]: {
|
|
1060
|
+
[key: string]: number;
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
medians: components["schemas"]["EngagementMedians"];
|
|
1064
|
+
period: components["schemas"]["EngagementPeriod"];
|
|
1065
|
+
rates: components["schemas"]["EngagementRates"];
|
|
1066
|
+
/** Recency */
|
|
1067
|
+
recency: components["schemas"]["CountBin"][];
|
|
1068
|
+
/** Stages */
|
|
1069
|
+
stages: {
|
|
1070
|
+
[key: string]: number;
|
|
1071
|
+
};
|
|
1072
|
+
thresholds: components["schemas"]["EngagementThresholds"];
|
|
1073
|
+
totals: components["schemas"]["EngagementTotals"];
|
|
1074
|
+
};
|
|
962
1075
|
/** AnalyticsOverview */
|
|
963
1076
|
AnalyticsOverview: {
|
|
964
1077
|
/** Currency */
|
|
@@ -991,6 +1104,24 @@ declare interface components {
|
|
|
991
1104
|
/** Users */
|
|
992
1105
|
users: components["schemas"]["DateCount"][];
|
|
993
1106
|
};
|
|
1107
|
+
/** AnalyticsTrendsDetail */
|
|
1108
|
+
AnalyticsTrendsDetail: {
|
|
1109
|
+
/** Currency */
|
|
1110
|
+
currency: string;
|
|
1111
|
+
/** Daily */
|
|
1112
|
+
daily: components["schemas"]["TrendDayPoint"][];
|
|
1113
|
+
/** Plans */
|
|
1114
|
+
plans: components["schemas"]["PlanTierSummary"][];
|
|
1115
|
+
};
|
|
1116
|
+
/** AnalyticsUsageLimits */
|
|
1117
|
+
AnalyticsUsageLimits: {
|
|
1118
|
+
/** Buckets */
|
|
1119
|
+
buckets: number[];
|
|
1120
|
+
/** Currency */
|
|
1121
|
+
currency: string;
|
|
1122
|
+
/** Plans */
|
|
1123
|
+
plans: components["schemas"]["PlanUsageView"][];
|
|
1124
|
+
};
|
|
994
1125
|
/** ApiKeyCreateInput */
|
|
995
1126
|
ApiKeyCreateInput: {
|
|
996
1127
|
/** Expires At */
|
|
@@ -1580,6 +1711,15 @@ declare interface components {
|
|
|
1580
1711
|
*/
|
|
1581
1712
|
type: "data-choice-question";
|
|
1582
1713
|
};
|
|
1714
|
+
/** CountBin */
|
|
1715
|
+
CountBin: {
|
|
1716
|
+
/** Count */
|
|
1717
|
+
count: number;
|
|
1718
|
+
/** From */
|
|
1719
|
+
from: number;
|
|
1720
|
+
/** To */
|
|
1721
|
+
to: number;
|
|
1722
|
+
};
|
|
1583
1723
|
/** CreditsGrantInput */
|
|
1584
1724
|
CreditsGrantInput: {
|
|
1585
1725
|
/** Amount */
|
|
@@ -1680,6 +1820,166 @@ declare interface components {
|
|
|
1680
1820
|
*/
|
|
1681
1821
|
type: "dynamic-tool";
|
|
1682
1822
|
};
|
|
1823
|
+
/** EngagementDay */
|
|
1824
|
+
EngagementDay: {
|
|
1825
|
+
/** Active */
|
|
1826
|
+
active: number;
|
|
1827
|
+
/** Date */
|
|
1828
|
+
date: string;
|
|
1829
|
+
/** Mau */
|
|
1830
|
+
mau: number;
|
|
1831
|
+
/** New */
|
|
1832
|
+
new: number;
|
|
1833
|
+
/** Sessions */
|
|
1834
|
+
sessions: number;
|
|
1835
|
+
/** Wau */
|
|
1836
|
+
wau: number;
|
|
1837
|
+
};
|
|
1838
|
+
/** EngagementHour */
|
|
1839
|
+
EngagementHour: {
|
|
1840
|
+
/** Active */
|
|
1841
|
+
active: number;
|
|
1842
|
+
/** Hour */
|
|
1843
|
+
hour: number;
|
|
1844
|
+
/** New */
|
|
1845
|
+
new: number;
|
|
1846
|
+
};
|
|
1847
|
+
/** EngagementMedians */
|
|
1848
|
+
EngagementMedians: {
|
|
1849
|
+
/** Days To Second Visit */
|
|
1850
|
+
days_to_second_visit: number | null;
|
|
1851
|
+
/** Gap Days */
|
|
1852
|
+
gap_days: number | null;
|
|
1853
|
+
/** Messages Per Session */
|
|
1854
|
+
messages_per_session: number | null;
|
|
1855
|
+
/** Minutes Per Session */
|
|
1856
|
+
minutes_per_session: number | null;
|
|
1857
|
+
/** Sessions Per User */
|
|
1858
|
+
sessions_per_user: number | null;
|
|
1859
|
+
};
|
|
1860
|
+
/** EngagementPeriod */
|
|
1861
|
+
EngagementPeriod: {
|
|
1862
|
+
/**
|
|
1863
|
+
* Bucket
|
|
1864
|
+
* @enum {string}
|
|
1865
|
+
*/
|
|
1866
|
+
bucket: "day" | "week";
|
|
1867
|
+
/** Days */
|
|
1868
|
+
days: number;
|
|
1869
|
+
/** End */
|
|
1870
|
+
end: string;
|
|
1871
|
+
/** Start */
|
|
1872
|
+
start: string;
|
|
1873
|
+
/** Timezone */
|
|
1874
|
+
timezone: string;
|
|
1875
|
+
/**
|
|
1876
|
+
* Week Start
|
|
1877
|
+
* @enum {string}
|
|
1878
|
+
*/
|
|
1879
|
+
week_start: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
|
|
1880
|
+
};
|
|
1881
|
+
/** EngagementRates */
|
|
1882
|
+
EngagementRates: {
|
|
1883
|
+
/** Active */
|
|
1884
|
+
active: number | null;
|
|
1885
|
+
/** Came Back */
|
|
1886
|
+
came_back: number | null;
|
|
1887
|
+
/** New */
|
|
1888
|
+
new: number | null;
|
|
1889
|
+
/** Stickiness */
|
|
1890
|
+
stickiness: number | null;
|
|
1891
|
+
};
|
|
1892
|
+
/** EngagementThresholds */
|
|
1893
|
+
EngagementThresholds: {
|
|
1894
|
+
/** Daily Bucket Max Days */
|
|
1895
|
+
daily_bucket_max_days: number;
|
|
1896
|
+
/** Deep Session Messages */
|
|
1897
|
+
deep_session_messages: number;
|
|
1898
|
+
/** Power Days Per Week */
|
|
1899
|
+
power_days_per_week: number;
|
|
1900
|
+
/** Power Min Days */
|
|
1901
|
+
power_min_days: number;
|
|
1902
|
+
/** Quick Session Messages */
|
|
1903
|
+
quick_session_messages: number;
|
|
1904
|
+
/** Regular Days Per Week */
|
|
1905
|
+
regular_days_per_week: number;
|
|
1906
|
+
/** Resurrected Gap Days */
|
|
1907
|
+
resurrected_gap_days: number;
|
|
1908
|
+
/** Session Gap Minutes */
|
|
1909
|
+
session_gap_minutes: number;
|
|
1910
|
+
};
|
|
1911
|
+
/** EngagementTotals */
|
|
1912
|
+
EngagementTotals: {
|
|
1913
|
+
/** Active */
|
|
1914
|
+
active: number;
|
|
1915
|
+
/** Active Days */
|
|
1916
|
+
active_days: number;
|
|
1917
|
+
/** Average Daily */
|
|
1918
|
+
average_daily: number;
|
|
1919
|
+
/** Came Back */
|
|
1920
|
+
came_back: number;
|
|
1921
|
+
/** Messages */
|
|
1922
|
+
messages: number;
|
|
1923
|
+
/** Multi Session */
|
|
1924
|
+
multi_session: number;
|
|
1925
|
+
/** New */
|
|
1926
|
+
new: number;
|
|
1927
|
+
/** Sessions */
|
|
1928
|
+
sessions: number;
|
|
1929
|
+
/** Users */
|
|
1930
|
+
users: number;
|
|
1931
|
+
};
|
|
1932
|
+
/** EngagementUserList */
|
|
1933
|
+
EngagementUserList: {
|
|
1934
|
+
/** Total */
|
|
1935
|
+
total: number;
|
|
1936
|
+
/** Users */
|
|
1937
|
+
users: components["schemas"]["EngagementUserRow"][];
|
|
1938
|
+
};
|
|
1939
|
+
/** EngagementUserRow */
|
|
1940
|
+
EngagementUserRow: {
|
|
1941
|
+
/** Active Days */
|
|
1942
|
+
active_days: number;
|
|
1943
|
+
/** Depth */
|
|
1944
|
+
depth?: ("quick" | "conversational" | "deep") | null;
|
|
1945
|
+
/** Email */
|
|
1946
|
+
email?: string | null;
|
|
1947
|
+
/** External Id */
|
|
1948
|
+
external_id?: string | null;
|
|
1949
|
+
/** Files */
|
|
1950
|
+
files: number;
|
|
1951
|
+
/** First Used At */
|
|
1952
|
+
first_used_at?: string | null;
|
|
1953
|
+
/** Last Active At */
|
|
1954
|
+
last_active_at?: string | null;
|
|
1955
|
+
/** Level */
|
|
1956
|
+
level?: ("power" | "regular" | "casual" | "one_day") | null;
|
|
1957
|
+
/** Messages */
|
|
1958
|
+
messages: number;
|
|
1959
|
+
/** Messages Per Session */
|
|
1960
|
+
messages_per_session?: number | null;
|
|
1961
|
+
/** Name */
|
|
1962
|
+
name: string;
|
|
1963
|
+
/** Phone */
|
|
1964
|
+
phone?: string | null;
|
|
1965
|
+
/** Sessions */
|
|
1966
|
+
sessions: number;
|
|
1967
|
+
/**
|
|
1968
|
+
* Stage
|
|
1969
|
+
* @enum {string}
|
|
1970
|
+
*/
|
|
1971
|
+
stage: "new" | "returning" | "resurrected" | "lapsed" | "never";
|
|
1972
|
+
/** Subscription Group */
|
|
1973
|
+
subscription_group?: string | null;
|
|
1974
|
+
/** Surname */
|
|
1975
|
+
surname?: string | null;
|
|
1976
|
+
/** Threads */
|
|
1977
|
+
threads: number;
|
|
1978
|
+
/** User Id */
|
|
1979
|
+
user_id: string;
|
|
1980
|
+
/** Username */
|
|
1981
|
+
username?: string | null;
|
|
1982
|
+
};
|
|
1683
1983
|
/**
|
|
1684
1984
|
* EntitlementStatus
|
|
1685
1985
|
* @description Everything a UI or an integrator needs to explain a user's allowance.
|
|
@@ -1820,6 +2120,25 @@ declare interface components {
|
|
|
1820
2120
|
/** Groups */
|
|
1821
2121
|
groups: string[];
|
|
1822
2122
|
};
|
|
2123
|
+
/** GrowthBucket */
|
|
2124
|
+
GrowthBucket: {
|
|
2125
|
+
/** Active */
|
|
2126
|
+
active: number;
|
|
2127
|
+
/** Churned */
|
|
2128
|
+
churned: number;
|
|
2129
|
+
/** New */
|
|
2130
|
+
new: number;
|
|
2131
|
+
/** Partial */
|
|
2132
|
+
partial: boolean;
|
|
2133
|
+
/** Quick Ratio */
|
|
2134
|
+
quick_ratio: number | null;
|
|
2135
|
+
/** Resurrected */
|
|
2136
|
+
resurrected: number;
|
|
2137
|
+
/** Retained */
|
|
2138
|
+
retained: number;
|
|
2139
|
+
/** Start */
|
|
2140
|
+
start: string;
|
|
2141
|
+
};
|
|
1823
2142
|
/** Incident */
|
|
1824
2143
|
Incident: {
|
|
1825
2144
|
/** Action */
|
|
@@ -2209,6 +2528,15 @@ declare interface components {
|
|
|
2209
2528
|
/** Total Cost Microunits */
|
|
2210
2529
|
total_cost_microunits?: number | null;
|
|
2211
2530
|
};
|
|
2531
|
+
/** Percentiles */
|
|
2532
|
+
Percentiles: {
|
|
2533
|
+
/** P50 */
|
|
2534
|
+
p50: number | null;
|
|
2535
|
+
/** P75 */
|
|
2536
|
+
p75: number | null;
|
|
2537
|
+
/** P90 */
|
|
2538
|
+
p90: number | null;
|
|
2539
|
+
};
|
|
2212
2540
|
/** PermissionList */
|
|
2213
2541
|
PermissionList: {
|
|
2214
2542
|
/** Permissions */
|
|
@@ -2279,6 +2607,22 @@ declare interface components {
|
|
|
2279
2607
|
/** Name */
|
|
2280
2608
|
name: string;
|
|
2281
2609
|
};
|
|
2610
|
+
/** PlanLimitView */
|
|
2611
|
+
PlanLimitView: {
|
|
2612
|
+
/** Amount */
|
|
2613
|
+
amount: number;
|
|
2614
|
+
/** Every */
|
|
2615
|
+
every: number;
|
|
2616
|
+
/** Id */
|
|
2617
|
+
id: string;
|
|
2618
|
+
/** Meter */
|
|
2619
|
+
meter: string;
|
|
2620
|
+
/**
|
|
2621
|
+
* Per
|
|
2622
|
+
* @enum {string}
|
|
2623
|
+
*/
|
|
2624
|
+
per: "minute" | "hour" | "day" | "week" | "month" | "subscription";
|
|
2625
|
+
};
|
|
2282
2626
|
/** PlanList */
|
|
2283
2627
|
PlanList: {
|
|
2284
2628
|
/** Plans */
|
|
@@ -2309,6 +2653,52 @@ declare interface components {
|
|
|
2309
2653
|
/** Name */
|
|
2310
2654
|
name: string;
|
|
2311
2655
|
};
|
|
2656
|
+
/** PlanTierSummary */
|
|
2657
|
+
PlanTierSummary: {
|
|
2658
|
+
/** Active Users */
|
|
2659
|
+
active_users: number;
|
|
2660
|
+
/** Cost Microunits */
|
|
2661
|
+
cost_microunits: number;
|
|
2662
|
+
/** Daily */
|
|
2663
|
+
daily: components["schemas"]["PlanTrendDayPoint"][];
|
|
2664
|
+
/** Dislikes */
|
|
2665
|
+
dislikes: number;
|
|
2666
|
+
/** Key */
|
|
2667
|
+
key: string;
|
|
2668
|
+
/** Likes */
|
|
2669
|
+
likes: number;
|
|
2670
|
+
/** Messages */
|
|
2671
|
+
messages: number;
|
|
2672
|
+
/** Name */
|
|
2673
|
+
name: string;
|
|
2674
|
+
/** Quota Hits */
|
|
2675
|
+
quota_hits: number;
|
|
2676
|
+
/** Threads Started */
|
|
2677
|
+
threads_started: number;
|
|
2678
|
+
/** Tokens */
|
|
2679
|
+
tokens: number;
|
|
2680
|
+
};
|
|
2681
|
+
/** PlanTrendDayPoint */
|
|
2682
|
+
PlanTrendDayPoint: {
|
|
2683
|
+
/** Active Users */
|
|
2684
|
+
active_users: number;
|
|
2685
|
+
/** Cost Microunits */
|
|
2686
|
+
cost_microunits: number;
|
|
2687
|
+
/** Date */
|
|
2688
|
+
date: string;
|
|
2689
|
+
/** Dislikes */
|
|
2690
|
+
dislikes: number;
|
|
2691
|
+
/** Likes */
|
|
2692
|
+
likes: number;
|
|
2693
|
+
/** Messages */
|
|
2694
|
+
messages: number;
|
|
2695
|
+
/** Quota Hits */
|
|
2696
|
+
quota_hits: number;
|
|
2697
|
+
/** Threads Started */
|
|
2698
|
+
threads_started: number;
|
|
2699
|
+
/** Tokens */
|
|
2700
|
+
tokens: number;
|
|
2701
|
+
};
|
|
2312
2702
|
/** PlanUpdateInput */
|
|
2313
2703
|
PlanUpdateInput: {
|
|
2314
2704
|
/** Archived */
|
|
@@ -2325,6 +2715,28 @@ declare interface components {
|
|
|
2325
2715
|
/** Name */
|
|
2326
2716
|
name?: string | null;
|
|
2327
2717
|
};
|
|
2718
|
+
/** PlanUsageView */
|
|
2719
|
+
PlanUsageView: {
|
|
2720
|
+
/** Active Users */
|
|
2721
|
+
active_users: number;
|
|
2722
|
+
duration?: components["schemas"]["PlanDuration"] | null;
|
|
2723
|
+
/** Histograms */
|
|
2724
|
+
histograms: {
|
|
2725
|
+
[key: string]: number[];
|
|
2726
|
+
};
|
|
2727
|
+
/** Is Default */
|
|
2728
|
+
is_default: boolean;
|
|
2729
|
+
/** Key */
|
|
2730
|
+
key: string;
|
|
2731
|
+
/** Limit Hits */
|
|
2732
|
+
limit_hits: number;
|
|
2733
|
+
/** Limits */
|
|
2734
|
+
limits: components["schemas"]["PlanLimitView"][];
|
|
2735
|
+
messages_per_active_day: components["schemas"]["Percentiles"];
|
|
2736
|
+
/** Name */
|
|
2737
|
+
name: string;
|
|
2738
|
+
tokens_per_active_day: components["schemas"]["Percentiles"];
|
|
2739
|
+
};
|
|
2328
2740
|
/** PlanView */
|
|
2329
2741
|
PlanView: {
|
|
2330
2742
|
/** Archived */
|
|
@@ -3323,6 +3735,33 @@ declare interface components {
|
|
|
3323
3735
|
/** Text */
|
|
3324
3736
|
text: string;
|
|
3325
3737
|
};
|
|
3738
|
+
/** TrendDayPoint */
|
|
3739
|
+
TrendDayPoint: {
|
|
3740
|
+
/** Active Users */
|
|
3741
|
+
active_users: number;
|
|
3742
|
+
/** Cost Microunits */
|
|
3743
|
+
cost_microunits: number;
|
|
3744
|
+
/** Date */
|
|
3745
|
+
date: string;
|
|
3746
|
+
/** Dislikes */
|
|
3747
|
+
dislikes: number;
|
|
3748
|
+
/** Likes */
|
|
3749
|
+
likes: number;
|
|
3750
|
+
/** Messages */
|
|
3751
|
+
messages: number;
|
|
3752
|
+
/** New Users */
|
|
3753
|
+
new_users: number;
|
|
3754
|
+
/** Quota Hits */
|
|
3755
|
+
quota_hits: number;
|
|
3756
|
+
/** Threads Started */
|
|
3757
|
+
threads_started: number;
|
|
3758
|
+
/** Tokens */
|
|
3759
|
+
tokens: number;
|
|
3760
|
+
/** Turns Completed */
|
|
3761
|
+
turns_completed: number;
|
|
3762
|
+
/** Turns Failed */
|
|
3763
|
+
turns_failed: number;
|
|
3764
|
+
};
|
|
3326
3765
|
/**
|
|
3327
3766
|
* TurnData
|
|
3328
3767
|
* @description The turn being streamed, which ``GET /chat/threads/{thread_id}/turns/{turn_id}/stream`` reconnects to.
|
|
@@ -3530,6 +3969,50 @@ declare interface components {
|
|
|
3530
3969
|
/** Username */
|
|
3531
3970
|
username: string | null;
|
|
3532
3971
|
};
|
|
3972
|
+
/** UserReportCreateInput */
|
|
3973
|
+
UserReportCreateInput: {
|
|
3974
|
+
/** Attachment Id */
|
|
3975
|
+
attachment_id?: string | null;
|
|
3976
|
+
/**
|
|
3977
|
+
* Category
|
|
3978
|
+
* @enum {string}
|
|
3979
|
+
*/
|
|
3980
|
+
category: "bug" | "feature" | "other";
|
|
3981
|
+
/** Description */
|
|
3982
|
+
description: string;
|
|
3983
|
+
/** Subject */
|
|
3984
|
+
subject: string;
|
|
3985
|
+
};
|
|
3986
|
+
/** UserReportResponse */
|
|
3987
|
+
UserReportResponse: {
|
|
3988
|
+
/** Attachment Filename */
|
|
3989
|
+
attachment_filename?: string | null;
|
|
3990
|
+
/** Attachment Id */
|
|
3991
|
+
attachment_id?: string | null;
|
|
3992
|
+
/** Attachment Media Type */
|
|
3993
|
+
attachment_media_type?: string | null;
|
|
3994
|
+
/**
|
|
3995
|
+
* Category
|
|
3996
|
+
* @enum {string}
|
|
3997
|
+
*/
|
|
3998
|
+
category: "bug" | "feature" | "other";
|
|
3999
|
+
/**
|
|
4000
|
+
* Created At
|
|
4001
|
+
* Format: date-time
|
|
4002
|
+
*/
|
|
4003
|
+
created_at: string;
|
|
4004
|
+
/** Description */
|
|
4005
|
+
description: string;
|
|
4006
|
+
/** Id */
|
|
4007
|
+
id: string;
|
|
4008
|
+
/**
|
|
4009
|
+
* Status
|
|
4010
|
+
* @enum {string}
|
|
4011
|
+
*/
|
|
4012
|
+
status: "open" | "resolved";
|
|
4013
|
+
/** Subject */
|
|
4014
|
+
subject: string;
|
|
4015
|
+
};
|
|
3533
4016
|
/** UserUpdateInput */
|
|
3534
4017
|
UserUpdateInput: {
|
|
3535
4018
|
/** Email */
|
|
@@ -4246,9 +4729,19 @@ declare interface operations {
|
|
|
4246
4729
|
};
|
|
4247
4730
|
};
|
|
4248
4731
|
};
|
|
4249
|
-
|
|
4732
|
+
get_analytics_engagement_api_admin_analytics_engagement_get: {
|
|
4250
4733
|
parameters: {
|
|
4251
|
-
query?:
|
|
4734
|
+
query?: {
|
|
4735
|
+
days?: number;
|
|
4736
|
+
source?: "human" | "service" | "all";
|
|
4737
|
+
user_ids?: string[] | null;
|
|
4738
|
+
plan_keys?: string[] | null;
|
|
4739
|
+
groups?: string[] | null;
|
|
4740
|
+
metadata?: string | null;
|
|
4741
|
+
external_user_id?: string | null;
|
|
4742
|
+
date_from?: string | null;
|
|
4743
|
+
date_to?: string | null;
|
|
4744
|
+
};
|
|
4252
4745
|
header?: never;
|
|
4253
4746
|
path?: never;
|
|
4254
4747
|
cookie?: never;
|
|
@@ -4261,7 +4754,7 @@ declare interface operations {
|
|
|
4261
4754
|
[name: string]: unknown;
|
|
4262
4755
|
};
|
|
4263
4756
|
content: {
|
|
4264
|
-
"application/json": components["schemas"]["
|
|
4757
|
+
"application/json": components["schemas"]["AnalyticsEngagement"];
|
|
4265
4758
|
};
|
|
4266
4759
|
};
|
|
4267
4760
|
/** @description Client Error */
|
|
@@ -4284,10 +4777,22 @@ declare interface operations {
|
|
|
4284
4777
|
};
|
|
4285
4778
|
};
|
|
4286
4779
|
};
|
|
4287
|
-
|
|
4780
|
+
get_analytics_engagement_users_api_admin_analytics_engagement_users_get: {
|
|
4288
4781
|
parameters: {
|
|
4289
4782
|
query?: {
|
|
4290
|
-
|
|
4783
|
+
days?: number;
|
|
4784
|
+
source?: "human" | "service" | "all";
|
|
4785
|
+
user_ids?: string[] | null;
|
|
4786
|
+
plan_keys?: string[] | null;
|
|
4787
|
+
groups?: string[] | null;
|
|
4788
|
+
metadata?: string | null;
|
|
4789
|
+
external_user_id?: string | null;
|
|
4790
|
+
date_from?: string | null;
|
|
4791
|
+
date_to?: string | null;
|
|
4792
|
+
stage?: ("new" | "returning" | "resurrected" | "lapsed" | "never") | null;
|
|
4793
|
+
level?: ("power" | "regular" | "casual" | "one_day") | null;
|
|
4794
|
+
depth?: ("quick" | "conversational" | "deep") | null;
|
|
4795
|
+
skip?: number;
|
|
4291
4796
|
limit?: number;
|
|
4292
4797
|
};
|
|
4293
4798
|
header?: never;
|
|
@@ -4302,7 +4807,7 @@ declare interface operations {
|
|
|
4302
4807
|
[name: string]: unknown;
|
|
4303
4808
|
};
|
|
4304
4809
|
content: {
|
|
4305
|
-
"application/json": components["schemas"]["
|
|
4810
|
+
"application/json": components["schemas"]["EngagementUserList"];
|
|
4306
4811
|
};
|
|
4307
4812
|
};
|
|
4308
4813
|
/** @description Client Error */
|
|
@@ -4325,11 +4830,21 @@ declare interface operations {
|
|
|
4325
4830
|
};
|
|
4326
4831
|
};
|
|
4327
4832
|
};
|
|
4328
|
-
|
|
4833
|
+
export_analytics_engagement_users_api_admin_analytics_engagement_users_export_csv_get: {
|
|
4329
4834
|
parameters: {
|
|
4330
4835
|
query?: {
|
|
4331
|
-
|
|
4332
|
-
|
|
4836
|
+
days?: number;
|
|
4837
|
+
source?: "human" | "service" | "all";
|
|
4838
|
+
user_ids?: string[] | null;
|
|
4839
|
+
plan_keys?: string[] | null;
|
|
4840
|
+
groups?: string[] | null;
|
|
4841
|
+
metadata?: string | null;
|
|
4842
|
+
external_user_id?: string | null;
|
|
4843
|
+
date_from?: string | null;
|
|
4844
|
+
date_to?: string | null;
|
|
4845
|
+
stage?: ("new" | "returning" | "resurrected" | "lapsed" | "never") | null;
|
|
4846
|
+
level?: ("power" | "regular" | "casual" | "one_day") | null;
|
|
4847
|
+
depth?: ("quick" | "conversational" | "deep") | null;
|
|
4333
4848
|
};
|
|
4334
4849
|
header?: never;
|
|
4335
4850
|
path?: never;
|
|
@@ -4342,9 +4857,7 @@ declare interface operations {
|
|
|
4342
4857
|
headers: {
|
|
4343
4858
|
[name: string]: unknown;
|
|
4344
4859
|
};
|
|
4345
|
-
content
|
|
4346
|
-
"application/json": components["schemas"]["UserOptionList"];
|
|
4347
|
-
};
|
|
4860
|
+
content?: never;
|
|
4348
4861
|
};
|
|
4349
4862
|
/** @description Client Error */
|
|
4350
4863
|
"4XX": {
|
|
@@ -4366,7 +4879,7 @@ declare interface operations {
|
|
|
4366
4879
|
};
|
|
4367
4880
|
};
|
|
4368
4881
|
};
|
|
4369
|
-
|
|
4882
|
+
analytics_filter_options_api_admin_analytics_filter_options_get: {
|
|
4370
4883
|
parameters: {
|
|
4371
4884
|
query?: never;
|
|
4372
4885
|
header?: never;
|
|
@@ -4381,7 +4894,7 @@ declare interface operations {
|
|
|
4381
4894
|
[name: string]: unknown;
|
|
4382
4895
|
};
|
|
4383
4896
|
content: {
|
|
4384
|
-
"application/json": components["schemas"]["
|
|
4897
|
+
"application/json": components["schemas"]["FilterOptions"];
|
|
4385
4898
|
};
|
|
4386
4899
|
};
|
|
4387
4900
|
/** @description Client Error */
|
|
@@ -4404,26 +4917,25 @@ declare interface operations {
|
|
|
4404
4917
|
};
|
|
4405
4918
|
};
|
|
4406
4919
|
};
|
|
4407
|
-
|
|
4920
|
+
search_analytics_groups_api_admin_analytics_groups_get: {
|
|
4408
4921
|
parameters: {
|
|
4409
|
-
query?:
|
|
4922
|
+
query?: {
|
|
4923
|
+
query?: string;
|
|
4924
|
+
limit?: number;
|
|
4925
|
+
};
|
|
4410
4926
|
header?: never;
|
|
4411
4927
|
path?: never;
|
|
4412
4928
|
cookie?: never;
|
|
4413
4929
|
};
|
|
4414
|
-
requestBody
|
|
4415
|
-
content: {
|
|
4416
|
-
"application/json": components["schemas"]["ApiKeyCreateInput"];
|
|
4417
|
-
};
|
|
4418
|
-
};
|
|
4930
|
+
requestBody?: never;
|
|
4419
4931
|
responses: {
|
|
4420
4932
|
/** @description Successful Response */
|
|
4421
|
-
|
|
4933
|
+
200: {
|
|
4422
4934
|
headers: {
|
|
4423
4935
|
[name: string]: unknown;
|
|
4424
4936
|
};
|
|
4425
4937
|
content: {
|
|
4426
|
-
"application/json": components["schemas"]["
|
|
4938
|
+
"application/json": components["schemas"]["GroupList"];
|
|
4427
4939
|
};
|
|
4428
4940
|
};
|
|
4429
4941
|
/** @description Client Error */
|
|
@@ -4446,13 +4958,21 @@ declare interface operations {
|
|
|
4446
4958
|
};
|
|
4447
4959
|
};
|
|
4448
4960
|
};
|
|
4449
|
-
|
|
4961
|
+
get_analytics_trends_api_admin_analytics_trends_get: {
|
|
4450
4962
|
parameters: {
|
|
4451
|
-
query?:
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4963
|
+
query?: {
|
|
4964
|
+
days?: number;
|
|
4965
|
+
source?: "human" | "service" | "all";
|
|
4966
|
+
user_ids?: string[] | null;
|
|
4967
|
+
plan_keys?: string[] | null;
|
|
4968
|
+
groups?: string[] | null;
|
|
4969
|
+
metadata?: string | null;
|
|
4970
|
+
external_user_id?: string | null;
|
|
4971
|
+
date_from?: string | null;
|
|
4972
|
+
date_to?: string | null;
|
|
4455
4973
|
};
|
|
4974
|
+
header?: never;
|
|
4975
|
+
path?: never;
|
|
4456
4976
|
cookie?: never;
|
|
4457
4977
|
};
|
|
4458
4978
|
requestBody?: never;
|
|
@@ -4463,7 +4983,7 @@ declare interface operations {
|
|
|
4463
4983
|
[name: string]: unknown;
|
|
4464
4984
|
};
|
|
4465
4985
|
content: {
|
|
4466
|
-
"application/json": components["schemas"]["
|
|
4986
|
+
"application/json": components["schemas"]["AnalyticsTrendsDetail"];
|
|
4467
4987
|
};
|
|
4468
4988
|
};
|
|
4469
4989
|
/** @description Client Error */
|
|
@@ -4486,10 +5006,265 @@ declare interface operations {
|
|
|
4486
5006
|
};
|
|
4487
5007
|
};
|
|
4488
5008
|
};
|
|
4489
|
-
|
|
5009
|
+
export_analytics_trends_api_admin_analytics_trends_export_csv_get: {
|
|
4490
5010
|
parameters: {
|
|
4491
|
-
query?:
|
|
4492
|
-
|
|
5011
|
+
query?: {
|
|
5012
|
+
days?: number;
|
|
5013
|
+
source?: "human" | "service" | "all";
|
|
5014
|
+
user_ids?: string[] | null;
|
|
5015
|
+
plan_keys?: string[] | null;
|
|
5016
|
+
groups?: string[] | null;
|
|
5017
|
+
metadata?: string | null;
|
|
5018
|
+
external_user_id?: string | null;
|
|
5019
|
+
date_from?: string | null;
|
|
5020
|
+
date_to?: string | null;
|
|
5021
|
+
};
|
|
5022
|
+
header?: never;
|
|
5023
|
+
path?: never;
|
|
5024
|
+
cookie?: never;
|
|
5025
|
+
};
|
|
5026
|
+
requestBody?: never;
|
|
5027
|
+
responses: {
|
|
5028
|
+
/** @description Successful Response */
|
|
5029
|
+
200: {
|
|
5030
|
+
headers: {
|
|
5031
|
+
[name: string]: unknown;
|
|
5032
|
+
};
|
|
5033
|
+
content?: never;
|
|
5034
|
+
};
|
|
5035
|
+
/** @description Client Error */
|
|
5036
|
+
"4XX": {
|
|
5037
|
+
headers: {
|
|
5038
|
+
[name: string]: unknown;
|
|
5039
|
+
};
|
|
5040
|
+
content: {
|
|
5041
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5042
|
+
};
|
|
5043
|
+
};
|
|
5044
|
+
/** @description Server Error */
|
|
5045
|
+
"5XX": {
|
|
5046
|
+
headers: {
|
|
5047
|
+
[name: string]: unknown;
|
|
5048
|
+
};
|
|
5049
|
+
content: {
|
|
5050
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5051
|
+
};
|
|
5052
|
+
};
|
|
5053
|
+
};
|
|
5054
|
+
};
|
|
5055
|
+
get_analytics_usage_limits_api_admin_analytics_usage_get: {
|
|
5056
|
+
parameters: {
|
|
5057
|
+
query?: {
|
|
5058
|
+
days?: number;
|
|
5059
|
+
source?: "human" | "service" | "all";
|
|
5060
|
+
user_ids?: string[] | null;
|
|
5061
|
+
plan_keys?: string[] | null;
|
|
5062
|
+
groups?: string[] | null;
|
|
5063
|
+
metadata?: string | null;
|
|
5064
|
+
external_user_id?: string | null;
|
|
5065
|
+
date_from?: string | null;
|
|
5066
|
+
date_to?: string | null;
|
|
5067
|
+
};
|
|
5068
|
+
header?: never;
|
|
5069
|
+
path?: never;
|
|
5070
|
+
cookie?: never;
|
|
5071
|
+
};
|
|
5072
|
+
requestBody?: never;
|
|
5073
|
+
responses: {
|
|
5074
|
+
/** @description Successful Response */
|
|
5075
|
+
200: {
|
|
5076
|
+
headers: {
|
|
5077
|
+
[name: string]: unknown;
|
|
5078
|
+
};
|
|
5079
|
+
content: {
|
|
5080
|
+
"application/json": components["schemas"]["AnalyticsUsageLimits"];
|
|
5081
|
+
};
|
|
5082
|
+
};
|
|
5083
|
+
/** @description Client Error */
|
|
5084
|
+
"4XX": {
|
|
5085
|
+
headers: {
|
|
5086
|
+
[name: string]: unknown;
|
|
5087
|
+
};
|
|
5088
|
+
content: {
|
|
5089
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5090
|
+
};
|
|
5091
|
+
};
|
|
5092
|
+
/** @description Server Error */
|
|
5093
|
+
"5XX": {
|
|
5094
|
+
headers: {
|
|
5095
|
+
[name: string]: unknown;
|
|
5096
|
+
};
|
|
5097
|
+
content: {
|
|
5098
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5099
|
+
};
|
|
5100
|
+
};
|
|
5101
|
+
};
|
|
5102
|
+
};
|
|
5103
|
+
search_analytics_users_api_admin_analytics_users_get: {
|
|
5104
|
+
parameters: {
|
|
5105
|
+
query?: {
|
|
5106
|
+
query?: string;
|
|
5107
|
+
limit?: number;
|
|
5108
|
+
};
|
|
5109
|
+
header?: never;
|
|
5110
|
+
path?: never;
|
|
5111
|
+
cookie?: never;
|
|
5112
|
+
};
|
|
5113
|
+
requestBody?: never;
|
|
5114
|
+
responses: {
|
|
5115
|
+
/** @description Successful Response */
|
|
5116
|
+
200: {
|
|
5117
|
+
headers: {
|
|
5118
|
+
[name: string]: unknown;
|
|
5119
|
+
};
|
|
5120
|
+
content: {
|
|
5121
|
+
"application/json": components["schemas"]["UserOptionList"];
|
|
5122
|
+
};
|
|
5123
|
+
};
|
|
5124
|
+
/** @description Client Error */
|
|
5125
|
+
"4XX": {
|
|
5126
|
+
headers: {
|
|
5127
|
+
[name: string]: unknown;
|
|
5128
|
+
};
|
|
5129
|
+
content: {
|
|
5130
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5131
|
+
};
|
|
5132
|
+
};
|
|
5133
|
+
/** @description Server Error */
|
|
5134
|
+
"5XX": {
|
|
5135
|
+
headers: {
|
|
5136
|
+
[name: string]: unknown;
|
|
5137
|
+
};
|
|
5138
|
+
content: {
|
|
5139
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5140
|
+
};
|
|
5141
|
+
};
|
|
5142
|
+
};
|
|
5143
|
+
};
|
|
5144
|
+
list_api_keys_api_admin_api_keys_get: {
|
|
5145
|
+
parameters: {
|
|
5146
|
+
query?: never;
|
|
5147
|
+
header?: never;
|
|
5148
|
+
path?: never;
|
|
5149
|
+
cookie?: never;
|
|
5150
|
+
};
|
|
5151
|
+
requestBody?: never;
|
|
5152
|
+
responses: {
|
|
5153
|
+
/** @description Successful Response */
|
|
5154
|
+
200: {
|
|
5155
|
+
headers: {
|
|
5156
|
+
[name: string]: unknown;
|
|
5157
|
+
};
|
|
5158
|
+
content: {
|
|
5159
|
+
"application/json": components["schemas"]["ApiKeyList"];
|
|
5160
|
+
};
|
|
5161
|
+
};
|
|
5162
|
+
/** @description Client Error */
|
|
5163
|
+
"4XX": {
|
|
5164
|
+
headers: {
|
|
5165
|
+
[name: string]: unknown;
|
|
5166
|
+
};
|
|
5167
|
+
content: {
|
|
5168
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5169
|
+
};
|
|
5170
|
+
};
|
|
5171
|
+
/** @description Server Error */
|
|
5172
|
+
"5XX": {
|
|
5173
|
+
headers: {
|
|
5174
|
+
[name: string]: unknown;
|
|
5175
|
+
};
|
|
5176
|
+
content: {
|
|
5177
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5178
|
+
};
|
|
5179
|
+
};
|
|
5180
|
+
};
|
|
5181
|
+
};
|
|
5182
|
+
create_api_key_api_admin_api_keys_post: {
|
|
5183
|
+
parameters: {
|
|
5184
|
+
query?: never;
|
|
5185
|
+
header?: never;
|
|
5186
|
+
path?: never;
|
|
5187
|
+
cookie?: never;
|
|
5188
|
+
};
|
|
5189
|
+
requestBody: {
|
|
5190
|
+
content: {
|
|
5191
|
+
"application/json": components["schemas"]["ApiKeyCreateInput"];
|
|
5192
|
+
};
|
|
5193
|
+
};
|
|
5194
|
+
responses: {
|
|
5195
|
+
/** @description Successful Response */
|
|
5196
|
+
201: {
|
|
5197
|
+
headers: {
|
|
5198
|
+
[name: string]: unknown;
|
|
5199
|
+
};
|
|
5200
|
+
content: {
|
|
5201
|
+
"application/json": components["schemas"]["ApiKeyCreated"];
|
|
5202
|
+
};
|
|
5203
|
+
};
|
|
5204
|
+
/** @description Client Error */
|
|
5205
|
+
"4XX": {
|
|
5206
|
+
headers: {
|
|
5207
|
+
[name: string]: unknown;
|
|
5208
|
+
};
|
|
5209
|
+
content: {
|
|
5210
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5211
|
+
};
|
|
5212
|
+
};
|
|
5213
|
+
/** @description Server Error */
|
|
5214
|
+
"5XX": {
|
|
5215
|
+
headers: {
|
|
5216
|
+
[name: string]: unknown;
|
|
5217
|
+
};
|
|
5218
|
+
content: {
|
|
5219
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5220
|
+
};
|
|
5221
|
+
};
|
|
5222
|
+
};
|
|
5223
|
+
};
|
|
5224
|
+
revoke_api_key_api_admin_api_keys__key_id__revoke_post: {
|
|
5225
|
+
parameters: {
|
|
5226
|
+
query?: never;
|
|
5227
|
+
header?: never;
|
|
5228
|
+
path: {
|
|
5229
|
+
key_id: string;
|
|
5230
|
+
};
|
|
5231
|
+
cookie?: never;
|
|
5232
|
+
};
|
|
5233
|
+
requestBody?: never;
|
|
5234
|
+
responses: {
|
|
5235
|
+
/** @description Successful Response */
|
|
5236
|
+
200: {
|
|
5237
|
+
headers: {
|
|
5238
|
+
[name: string]: unknown;
|
|
5239
|
+
};
|
|
5240
|
+
content: {
|
|
5241
|
+
"application/json": components["schemas"]["ApiKeyView"];
|
|
5242
|
+
};
|
|
5243
|
+
};
|
|
5244
|
+
/** @description Client Error */
|
|
5245
|
+
"4XX": {
|
|
5246
|
+
headers: {
|
|
5247
|
+
[name: string]: unknown;
|
|
5248
|
+
};
|
|
5249
|
+
content: {
|
|
5250
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5251
|
+
};
|
|
5252
|
+
};
|
|
5253
|
+
/** @description Server Error */
|
|
5254
|
+
"5XX": {
|
|
5255
|
+
headers: {
|
|
5256
|
+
[name: string]: unknown;
|
|
5257
|
+
};
|
|
5258
|
+
content: {
|
|
5259
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5260
|
+
};
|
|
5261
|
+
};
|
|
5262
|
+
};
|
|
5263
|
+
};
|
|
5264
|
+
get_attachment_for_admin_api_admin_chat_history_attachments__attachment_id__get: {
|
|
5265
|
+
parameters: {
|
|
5266
|
+
query?: never;
|
|
5267
|
+
header?: never;
|
|
4493
5268
|
path: {
|
|
4494
5269
|
attachment_id: string;
|
|
4495
5270
|
};
|
|
@@ -5351,7 +6126,179 @@ declare interface operations {
|
|
|
5351
6126
|
path?: never;
|
|
5352
6127
|
cookie?: never;
|
|
5353
6128
|
};
|
|
5354
|
-
requestBody?: never;
|
|
6129
|
+
requestBody?: never;
|
|
6130
|
+
responses: {
|
|
6131
|
+
/** @description Successful Response */
|
|
6132
|
+
200: {
|
|
6133
|
+
headers: {
|
|
6134
|
+
[name: string]: unknown;
|
|
6135
|
+
};
|
|
6136
|
+
content: {
|
|
6137
|
+
"application/json": components["schemas"]["AdminPlanList"];
|
|
6138
|
+
};
|
|
6139
|
+
};
|
|
6140
|
+
/** @description Client Error */
|
|
6141
|
+
"4XX": {
|
|
6142
|
+
headers: {
|
|
6143
|
+
[name: string]: unknown;
|
|
6144
|
+
};
|
|
6145
|
+
content: {
|
|
6146
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6147
|
+
};
|
|
6148
|
+
};
|
|
6149
|
+
/** @description Server Error */
|
|
6150
|
+
"5XX": {
|
|
6151
|
+
headers: {
|
|
6152
|
+
[name: string]: unknown;
|
|
6153
|
+
};
|
|
6154
|
+
content: {
|
|
6155
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6156
|
+
};
|
|
6157
|
+
};
|
|
6158
|
+
};
|
|
6159
|
+
};
|
|
6160
|
+
create_plan_api_admin_plans_post: {
|
|
6161
|
+
parameters: {
|
|
6162
|
+
query?: never;
|
|
6163
|
+
header?: never;
|
|
6164
|
+
path?: never;
|
|
6165
|
+
cookie?: never;
|
|
6166
|
+
};
|
|
6167
|
+
requestBody: {
|
|
6168
|
+
content: {
|
|
6169
|
+
"application/json": components["schemas"]["PlanInput"];
|
|
6170
|
+
};
|
|
6171
|
+
};
|
|
6172
|
+
responses: {
|
|
6173
|
+
/** @description Successful Response */
|
|
6174
|
+
201: {
|
|
6175
|
+
headers: {
|
|
6176
|
+
[name: string]: unknown;
|
|
6177
|
+
};
|
|
6178
|
+
content: {
|
|
6179
|
+
"application/json": components["schemas"]["AdminPlanView"];
|
|
6180
|
+
};
|
|
6181
|
+
};
|
|
6182
|
+
/** @description Client Error */
|
|
6183
|
+
"4XX": {
|
|
6184
|
+
headers: {
|
|
6185
|
+
[name: string]: unknown;
|
|
6186
|
+
};
|
|
6187
|
+
content: {
|
|
6188
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6189
|
+
};
|
|
6190
|
+
};
|
|
6191
|
+
/** @description Server Error */
|
|
6192
|
+
"5XX": {
|
|
6193
|
+
headers: {
|
|
6194
|
+
[name: string]: unknown;
|
|
6195
|
+
};
|
|
6196
|
+
content: {
|
|
6197
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6198
|
+
};
|
|
6199
|
+
};
|
|
6200
|
+
};
|
|
6201
|
+
};
|
|
6202
|
+
delete_plan_api_admin_plans__key__delete: {
|
|
6203
|
+
parameters: {
|
|
6204
|
+
query?: {
|
|
6205
|
+
replace_with?: string | null;
|
|
6206
|
+
};
|
|
6207
|
+
header?: never;
|
|
6208
|
+
path: {
|
|
6209
|
+
key: string;
|
|
6210
|
+
};
|
|
6211
|
+
cookie?: never;
|
|
6212
|
+
};
|
|
6213
|
+
requestBody?: never;
|
|
6214
|
+
responses: {
|
|
6215
|
+
/** @description Successful Response */
|
|
6216
|
+
200: {
|
|
6217
|
+
headers: {
|
|
6218
|
+
[name: string]: unknown;
|
|
6219
|
+
};
|
|
6220
|
+
content: {
|
|
6221
|
+
"application/json": components["schemas"]["PlanDeleteResponse"];
|
|
6222
|
+
};
|
|
6223
|
+
};
|
|
6224
|
+
/** @description Client Error */
|
|
6225
|
+
"4XX": {
|
|
6226
|
+
headers: {
|
|
6227
|
+
[name: string]: unknown;
|
|
6228
|
+
};
|
|
6229
|
+
content: {
|
|
6230
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6231
|
+
};
|
|
6232
|
+
};
|
|
6233
|
+
/** @description Server Error */
|
|
6234
|
+
"5XX": {
|
|
6235
|
+
headers: {
|
|
6236
|
+
[name: string]: unknown;
|
|
6237
|
+
};
|
|
6238
|
+
content: {
|
|
6239
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6240
|
+
};
|
|
6241
|
+
};
|
|
6242
|
+
};
|
|
6243
|
+
};
|
|
6244
|
+
update_plan_api_admin_plans__key__patch: {
|
|
6245
|
+
parameters: {
|
|
6246
|
+
query?: never;
|
|
6247
|
+
header?: never;
|
|
6248
|
+
path: {
|
|
6249
|
+
key: string;
|
|
6250
|
+
};
|
|
6251
|
+
cookie?: never;
|
|
6252
|
+
};
|
|
6253
|
+
requestBody: {
|
|
6254
|
+
content: {
|
|
6255
|
+
"application/json": components["schemas"]["PlanUpdateInput"];
|
|
6256
|
+
};
|
|
6257
|
+
};
|
|
6258
|
+
responses: {
|
|
6259
|
+
/** @description Successful Response */
|
|
6260
|
+
200: {
|
|
6261
|
+
headers: {
|
|
6262
|
+
[name: string]: unknown;
|
|
6263
|
+
};
|
|
6264
|
+
content: {
|
|
6265
|
+
"application/json": components["schemas"]["AdminPlanView"];
|
|
6266
|
+
};
|
|
6267
|
+
};
|
|
6268
|
+
/** @description Client Error */
|
|
6269
|
+
"4XX": {
|
|
6270
|
+
headers: {
|
|
6271
|
+
[name: string]: unknown;
|
|
6272
|
+
};
|
|
6273
|
+
content: {
|
|
6274
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6275
|
+
};
|
|
6276
|
+
};
|
|
6277
|
+
/** @description Server Error */
|
|
6278
|
+
"5XX": {
|
|
6279
|
+
headers: {
|
|
6280
|
+
[name: string]: unknown;
|
|
6281
|
+
};
|
|
6282
|
+
content: {
|
|
6283
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6284
|
+
};
|
|
6285
|
+
};
|
|
6286
|
+
};
|
|
6287
|
+
};
|
|
6288
|
+
set_plan_features_api_admin_plans__key__features_put: {
|
|
6289
|
+
parameters: {
|
|
6290
|
+
query?: never;
|
|
6291
|
+
header?: never;
|
|
6292
|
+
path: {
|
|
6293
|
+
key: string;
|
|
6294
|
+
};
|
|
6295
|
+
cookie?: never;
|
|
6296
|
+
};
|
|
6297
|
+
requestBody: {
|
|
6298
|
+
content: {
|
|
6299
|
+
"application/json": components["schemas"]["PlanFeaturesInput"];
|
|
6300
|
+
};
|
|
6301
|
+
};
|
|
5355
6302
|
responses: {
|
|
5356
6303
|
/** @description Successful Response */
|
|
5357
6304
|
200: {
|
|
@@ -5359,7 +6306,7 @@ declare interface operations {
|
|
|
5359
6306
|
[name: string]: unknown;
|
|
5360
6307
|
};
|
|
5361
6308
|
content: {
|
|
5362
|
-
"application/json": components["schemas"]["
|
|
6309
|
+
"application/json": components["schemas"]["AdminPlanView"];
|
|
5363
6310
|
};
|
|
5364
6311
|
};
|
|
5365
6312
|
/** @description Client Error */
|
|
@@ -5382,26 +6329,29 @@ declare interface operations {
|
|
|
5382
6329
|
};
|
|
5383
6330
|
};
|
|
5384
6331
|
};
|
|
5385
|
-
|
|
6332
|
+
list_reports_api_admin_reports_get: {
|
|
5386
6333
|
parameters: {
|
|
5387
|
-
query?:
|
|
6334
|
+
query?: {
|
|
6335
|
+
skip?: number;
|
|
6336
|
+
limit?: number;
|
|
6337
|
+
category?: ("bug" | "feature" | "other") | null;
|
|
6338
|
+
status?: ("open" | "resolved") | null;
|
|
6339
|
+
user_id?: string | null;
|
|
6340
|
+
query?: string | null;
|
|
6341
|
+
};
|
|
5388
6342
|
header?: never;
|
|
5389
6343
|
path?: never;
|
|
5390
6344
|
cookie?: never;
|
|
5391
6345
|
};
|
|
5392
|
-
requestBody
|
|
5393
|
-
content: {
|
|
5394
|
-
"application/json": components["schemas"]["PlanInput"];
|
|
5395
|
-
};
|
|
5396
|
-
};
|
|
6346
|
+
requestBody?: never;
|
|
5397
6347
|
responses: {
|
|
5398
6348
|
/** @description Successful Response */
|
|
5399
|
-
|
|
6349
|
+
200: {
|
|
5400
6350
|
headers: {
|
|
5401
6351
|
[name: string]: unknown;
|
|
5402
6352
|
};
|
|
5403
6353
|
content: {
|
|
5404
|
-
"application/json": components["schemas"]["
|
|
6354
|
+
"application/json": components["schemas"]["AdminReportList"];
|
|
5405
6355
|
};
|
|
5406
6356
|
};
|
|
5407
6357
|
/** @description Client Error */
|
|
@@ -5424,14 +6374,12 @@ declare interface operations {
|
|
|
5424
6374
|
};
|
|
5425
6375
|
};
|
|
5426
6376
|
};
|
|
5427
|
-
|
|
6377
|
+
delete_report_api_admin_reports__report_id__delete: {
|
|
5428
6378
|
parameters: {
|
|
5429
|
-
query?:
|
|
5430
|
-
replace_with?: string | null;
|
|
5431
|
-
};
|
|
6379
|
+
query?: never;
|
|
5432
6380
|
header?: never;
|
|
5433
6381
|
path: {
|
|
5434
|
-
|
|
6382
|
+
report_id: string;
|
|
5435
6383
|
};
|
|
5436
6384
|
cookie?: never;
|
|
5437
6385
|
};
|
|
@@ -5443,7 +6391,7 @@ declare interface operations {
|
|
|
5443
6391
|
[name: string]: unknown;
|
|
5444
6392
|
};
|
|
5445
6393
|
content: {
|
|
5446
|
-
"application/json": components["schemas"]["
|
|
6394
|
+
"application/json": components["schemas"]["StatusMessageResponse"];
|
|
5447
6395
|
};
|
|
5448
6396
|
};
|
|
5449
6397
|
/** @description Client Error */
|
|
@@ -5466,18 +6414,18 @@ declare interface operations {
|
|
|
5466
6414
|
};
|
|
5467
6415
|
};
|
|
5468
6416
|
};
|
|
5469
|
-
|
|
6417
|
+
update_report_status_api_admin_reports__report_id__patch: {
|
|
5470
6418
|
parameters: {
|
|
5471
6419
|
query?: never;
|
|
5472
6420
|
header?: never;
|
|
5473
6421
|
path: {
|
|
5474
|
-
|
|
6422
|
+
report_id: string;
|
|
5475
6423
|
};
|
|
5476
6424
|
cookie?: never;
|
|
5477
6425
|
};
|
|
5478
6426
|
requestBody: {
|
|
5479
6427
|
content: {
|
|
5480
|
-
"application/json": components["schemas"]["
|
|
6428
|
+
"application/json": components["schemas"]["AdminReportUpdateInput"];
|
|
5481
6429
|
};
|
|
5482
6430
|
};
|
|
5483
6431
|
responses: {
|
|
@@ -5487,7 +6435,7 @@ declare interface operations {
|
|
|
5487
6435
|
[name: string]: unknown;
|
|
5488
6436
|
};
|
|
5489
6437
|
content: {
|
|
5490
|
-
"application/json": components["schemas"]["
|
|
6438
|
+
"application/json": components["schemas"]["AdminReportRow"];
|
|
5491
6439
|
};
|
|
5492
6440
|
};
|
|
5493
6441
|
/** @description Client Error */
|
|
@@ -5510,28 +6458,24 @@ declare interface operations {
|
|
|
5510
6458
|
};
|
|
5511
6459
|
};
|
|
5512
6460
|
};
|
|
5513
|
-
|
|
6461
|
+
get_report_attachment_api_admin_reports__report_id__attachment_get: {
|
|
5514
6462
|
parameters: {
|
|
5515
6463
|
query?: never;
|
|
5516
6464
|
header?: never;
|
|
5517
6465
|
path: {
|
|
5518
|
-
|
|
6466
|
+
report_id: string;
|
|
5519
6467
|
};
|
|
5520
6468
|
cookie?: never;
|
|
5521
6469
|
};
|
|
5522
|
-
requestBody
|
|
5523
|
-
content: {
|
|
5524
|
-
"application/json": components["schemas"]["PlanFeaturesInput"];
|
|
5525
|
-
};
|
|
5526
|
-
};
|
|
6470
|
+
requestBody?: never;
|
|
5527
6471
|
responses: {
|
|
5528
|
-
/** @description
|
|
6472
|
+
/** @description The file, with the media type it was stored with */
|
|
5529
6473
|
200: {
|
|
5530
6474
|
headers: {
|
|
5531
6475
|
[name: string]: unknown;
|
|
5532
6476
|
};
|
|
5533
6477
|
content: {
|
|
5534
|
-
"application/
|
|
6478
|
+
"application/octet-stream": unknown;
|
|
5535
6479
|
};
|
|
5536
6480
|
};
|
|
5537
6481
|
/** @description Client Error */
|
|
@@ -7894,6 +8838,48 @@ declare interface operations {
|
|
|
7894
8838
|
};
|
|
7895
8839
|
};
|
|
7896
8840
|
};
|
|
8841
|
+
submit_user_report_api_users_me_reports_post: {
|
|
8842
|
+
parameters: {
|
|
8843
|
+
query?: never;
|
|
8844
|
+
header?: never;
|
|
8845
|
+
path?: never;
|
|
8846
|
+
cookie?: never;
|
|
8847
|
+
};
|
|
8848
|
+
requestBody: {
|
|
8849
|
+
content: {
|
|
8850
|
+
"application/json": components["schemas"]["UserReportCreateInput"];
|
|
8851
|
+
};
|
|
8852
|
+
};
|
|
8853
|
+
responses: {
|
|
8854
|
+
/** @description Successful Response */
|
|
8855
|
+
201: {
|
|
8856
|
+
headers: {
|
|
8857
|
+
[name: string]: unknown;
|
|
8858
|
+
};
|
|
8859
|
+
content: {
|
|
8860
|
+
"application/json": components["schemas"]["UserReportResponse"];
|
|
8861
|
+
};
|
|
8862
|
+
};
|
|
8863
|
+
/** @description Client Error */
|
|
8864
|
+
"4XX": {
|
|
8865
|
+
headers: {
|
|
8866
|
+
[name: string]: unknown;
|
|
8867
|
+
};
|
|
8868
|
+
content: {
|
|
8869
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8870
|
+
};
|
|
8871
|
+
};
|
|
8872
|
+
/** @description Server Error */
|
|
8873
|
+
"5XX": {
|
|
8874
|
+
headers: {
|
|
8875
|
+
[name: string]: unknown;
|
|
8876
|
+
};
|
|
8877
|
+
content: {
|
|
8878
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8879
|
+
};
|
|
8880
|
+
};
|
|
8881
|
+
};
|
|
8882
|
+
};
|
|
7897
8883
|
health_check_health_get: {
|
|
7898
8884
|
parameters: {
|
|
7899
8885
|
query?: never;
|
|
@@ -8060,6 +9046,66 @@ declare interface paths {
|
|
|
8060
9046
|
patch?: never;
|
|
8061
9047
|
trace?: never;
|
|
8062
9048
|
};
|
|
9049
|
+
"/api/admin/analytics/engagement": {
|
|
9050
|
+
parameters: {
|
|
9051
|
+
query?: never;
|
|
9052
|
+
header?: never;
|
|
9053
|
+
path?: never;
|
|
9054
|
+
cookie?: never;
|
|
9055
|
+
};
|
|
9056
|
+
/**
|
|
9057
|
+
* Get Analytics Engagement
|
|
9058
|
+
* @description User-level engagement metrics, lifecycle stages, reach, growth accounting, and activity heatmap.
|
|
9059
|
+
*/
|
|
9060
|
+
get: operations["get_analytics_engagement_api_admin_analytics_engagement_get"];
|
|
9061
|
+
put?: never;
|
|
9062
|
+
post?: never;
|
|
9063
|
+
delete?: never;
|
|
9064
|
+
options?: never;
|
|
9065
|
+
head?: never;
|
|
9066
|
+
patch?: never;
|
|
9067
|
+
trace?: never;
|
|
9068
|
+
};
|
|
9069
|
+
"/api/admin/analytics/engagement/users": {
|
|
9070
|
+
parameters: {
|
|
9071
|
+
query?: never;
|
|
9072
|
+
header?: never;
|
|
9073
|
+
path?: never;
|
|
9074
|
+
cookie?: never;
|
|
9075
|
+
};
|
|
9076
|
+
/**
|
|
9077
|
+
* Get Analytics Engagement Users
|
|
9078
|
+
* @description Paginated users matching an engagement stage, frequency level, and/or session depth.
|
|
9079
|
+
*/
|
|
9080
|
+
get: operations["get_analytics_engagement_users_api_admin_analytics_engagement_users_get"];
|
|
9081
|
+
put?: never;
|
|
9082
|
+
post?: never;
|
|
9083
|
+
delete?: never;
|
|
9084
|
+
options?: never;
|
|
9085
|
+
head?: never;
|
|
9086
|
+
patch?: never;
|
|
9087
|
+
trace?: never;
|
|
9088
|
+
};
|
|
9089
|
+
"/api/admin/analytics/engagement/users/export.csv": {
|
|
9090
|
+
parameters: {
|
|
9091
|
+
query?: never;
|
|
9092
|
+
header?: never;
|
|
9093
|
+
path?: never;
|
|
9094
|
+
cookie?: never;
|
|
9095
|
+
};
|
|
9096
|
+
/**
|
|
9097
|
+
* Export Analytics Engagement Users
|
|
9098
|
+
* @description Export matching engagement users as CSV.
|
|
9099
|
+
*/
|
|
9100
|
+
get: operations["export_analytics_engagement_users_api_admin_analytics_engagement_users_export_csv_get"];
|
|
9101
|
+
put?: never;
|
|
9102
|
+
post?: never;
|
|
9103
|
+
delete?: never;
|
|
9104
|
+
options?: never;
|
|
9105
|
+
head?: never;
|
|
9106
|
+
patch?: never;
|
|
9107
|
+
trace?: never;
|
|
9108
|
+
};
|
|
8063
9109
|
"/api/admin/analytics/filter-options": {
|
|
8064
9110
|
parameters: {
|
|
8065
9111
|
query?: never;
|
|
@@ -8100,6 +9146,66 @@ declare interface paths {
|
|
|
8100
9146
|
patch?: never;
|
|
8101
9147
|
trace?: never;
|
|
8102
9148
|
};
|
|
9149
|
+
"/api/admin/analytics/trends": {
|
|
9150
|
+
parameters: {
|
|
9151
|
+
query?: never;
|
|
9152
|
+
header?: never;
|
|
9153
|
+
path?: never;
|
|
9154
|
+
cookie?: never;
|
|
9155
|
+
};
|
|
9156
|
+
/**
|
|
9157
|
+
* Get Analytics Trends
|
|
9158
|
+
* @description Detailed daily operational & product trends, with per-plan tier breakdown when Billing is active.
|
|
9159
|
+
*/
|
|
9160
|
+
get: operations["get_analytics_trends_api_admin_analytics_trends_get"];
|
|
9161
|
+
put?: never;
|
|
9162
|
+
post?: never;
|
|
9163
|
+
delete?: never;
|
|
9164
|
+
options?: never;
|
|
9165
|
+
head?: never;
|
|
9166
|
+
patch?: never;
|
|
9167
|
+
trace?: never;
|
|
9168
|
+
};
|
|
9169
|
+
"/api/admin/analytics/trends/export.csv": {
|
|
9170
|
+
parameters: {
|
|
9171
|
+
query?: never;
|
|
9172
|
+
header?: never;
|
|
9173
|
+
path?: never;
|
|
9174
|
+
cookie?: never;
|
|
9175
|
+
};
|
|
9176
|
+
/**
|
|
9177
|
+
* Export Analytics Trends
|
|
9178
|
+
* @description Export daily operational trends as CSV.
|
|
9179
|
+
*/
|
|
9180
|
+
get: operations["export_analytics_trends_api_admin_analytics_trends_export_csv_get"];
|
|
9181
|
+
put?: never;
|
|
9182
|
+
post?: never;
|
|
9183
|
+
delete?: never;
|
|
9184
|
+
options?: never;
|
|
9185
|
+
head?: never;
|
|
9186
|
+
patch?: never;
|
|
9187
|
+
trace?: never;
|
|
9188
|
+
};
|
|
9189
|
+
"/api/admin/analytics/usage": {
|
|
9190
|
+
parameters: {
|
|
9191
|
+
query?: never;
|
|
9192
|
+
header?: never;
|
|
9193
|
+
path?: never;
|
|
9194
|
+
cookie?: never;
|
|
9195
|
+
};
|
|
9196
|
+
/**
|
|
9197
|
+
* Get Analytics Usage Limits
|
|
9198
|
+
* @description Per-plan peak window utilization histograms and daily percentiles against configured limits.
|
|
9199
|
+
*/
|
|
9200
|
+
get: operations["get_analytics_usage_limits_api_admin_analytics_usage_get"];
|
|
9201
|
+
put?: never;
|
|
9202
|
+
post?: never;
|
|
9203
|
+
delete?: never;
|
|
9204
|
+
options?: never;
|
|
9205
|
+
head?: never;
|
|
9206
|
+
patch?: never;
|
|
9207
|
+
trace?: never;
|
|
9208
|
+
};
|
|
8103
9209
|
"/api/admin/analytics/users": {
|
|
8104
9210
|
parameters: {
|
|
8105
9211
|
query?: never;
|
|
@@ -8672,6 +9778,70 @@ declare interface paths {
|
|
|
8672
9778
|
patch?: never;
|
|
8673
9779
|
trace?: never;
|
|
8674
9780
|
};
|
|
9781
|
+
"/api/admin/reports": {
|
|
9782
|
+
parameters: {
|
|
9783
|
+
query?: never;
|
|
9784
|
+
header?: never;
|
|
9785
|
+
path?: never;
|
|
9786
|
+
cookie?: never;
|
|
9787
|
+
};
|
|
9788
|
+
/**
|
|
9789
|
+
* List Reports
|
|
9790
|
+
* @description List user-submitted feedback reports, newest first.
|
|
9791
|
+
*/
|
|
9792
|
+
get: operations["list_reports_api_admin_reports_get"];
|
|
9793
|
+
put?: never;
|
|
9794
|
+
post?: never;
|
|
9795
|
+
delete?: never;
|
|
9796
|
+
options?: never;
|
|
9797
|
+
head?: never;
|
|
9798
|
+
patch?: never;
|
|
9799
|
+
trace?: never;
|
|
9800
|
+
};
|
|
9801
|
+
"/api/admin/reports/{report_id}": {
|
|
9802
|
+
parameters: {
|
|
9803
|
+
query?: never;
|
|
9804
|
+
header?: never;
|
|
9805
|
+
path?: never;
|
|
9806
|
+
cookie?: never;
|
|
9807
|
+
};
|
|
9808
|
+
get?: never;
|
|
9809
|
+
put?: never;
|
|
9810
|
+
post?: never;
|
|
9811
|
+
/**
|
|
9812
|
+
* Delete Report
|
|
9813
|
+
* @description Delete a user report and any attachment it claimed.
|
|
9814
|
+
*/
|
|
9815
|
+
delete: operations["delete_report_api_admin_reports__report_id__delete"];
|
|
9816
|
+
options?: never;
|
|
9817
|
+
head?: never;
|
|
9818
|
+
/**
|
|
9819
|
+
* Update Report Status
|
|
9820
|
+
* @description Mark a report open or resolved.
|
|
9821
|
+
*/
|
|
9822
|
+
patch: operations["update_report_status_api_admin_reports__report_id__patch"];
|
|
9823
|
+
trace?: never;
|
|
9824
|
+
};
|
|
9825
|
+
"/api/admin/reports/{report_id}/attachment": {
|
|
9826
|
+
parameters: {
|
|
9827
|
+
query?: never;
|
|
9828
|
+
header?: never;
|
|
9829
|
+
path?: never;
|
|
9830
|
+
cookie?: never;
|
|
9831
|
+
};
|
|
9832
|
+
/**
|
|
9833
|
+
* Get Report Attachment
|
|
9834
|
+
* @description Serve the file attached to a user report.
|
|
9835
|
+
*/
|
|
9836
|
+
get: operations["get_report_attachment_api_admin_reports__report_id__attachment_get"];
|
|
9837
|
+
put?: never;
|
|
9838
|
+
post?: never;
|
|
9839
|
+
delete?: never;
|
|
9840
|
+
options?: never;
|
|
9841
|
+
head?: never;
|
|
9842
|
+
patch?: never;
|
|
9843
|
+
trace?: never;
|
|
9844
|
+
};
|
|
8675
9845
|
"/api/admin/settings": {
|
|
8676
9846
|
parameters: {
|
|
8677
9847
|
query?: never;
|
|
@@ -9709,6 +10879,26 @@ declare interface paths {
|
|
|
9709
10879
|
patch?: never;
|
|
9710
10880
|
trace?: never;
|
|
9711
10881
|
};
|
|
10882
|
+
"/api/users/me/reports": {
|
|
10883
|
+
parameters: {
|
|
10884
|
+
query?: never;
|
|
10885
|
+
header?: never;
|
|
10886
|
+
path?: never;
|
|
10887
|
+
cookie?: never;
|
|
10888
|
+
};
|
|
10889
|
+
get?: never;
|
|
10890
|
+
put?: never;
|
|
10891
|
+
/**
|
|
10892
|
+
* Submit User Report
|
|
10893
|
+
* @description Submit a bug report, feature request or general feedback from the signed-in user.
|
|
10894
|
+
*/
|
|
10895
|
+
post: operations["submit_user_report_api_users_me_reports_post"];
|
|
10896
|
+
delete?: never;
|
|
10897
|
+
options?: never;
|
|
10898
|
+
head?: never;
|
|
10899
|
+
patch?: never;
|
|
10900
|
+
trace?: never;
|
|
10901
|
+
};
|
|
9712
10902
|
"/health": {
|
|
9713
10903
|
parameters: {
|
|
9714
10904
|
query?: never;
|
|
@@ -9798,6 +10988,9 @@ declare type ReferenceData = Schemas['ReferenceData'];
|
|
|
9798
10988
|
/** Response from registering. */
|
|
9799
10989
|
export declare type RegisterResponse = Schemas['AuthTokenResponse'];
|
|
9800
10990
|
|
|
10991
|
+
/** Why the backend would refuse `file`, or `null` if it would take it. */
|
|
10992
|
+
export declare function rejectAttachment(file: Pick<File, 'type' | 'size'>, limits: AttachmentLimits): AttachmentRejection | null;
|
|
10993
|
+
|
|
9801
10994
|
export declare function removeStored(namespace: string, key: string): void;
|
|
9802
10995
|
|
|
9803
10996
|
declare type RequestBody<O> = O extends {
|
|
@@ -10001,6 +11194,18 @@ declare interface UploadInit {
|
|
|
10001
11194
|
onProgress?: (fraction: number) => void;
|
|
10002
11195
|
}
|
|
10003
11196
|
|
|
11197
|
+
/** A user-submitted bug report, feature request or general feedback. */
|
|
11198
|
+
export declare type UserReport = Schemas['UserReportResponse'];
|
|
11199
|
+
|
|
11200
|
+
/** What kind of report the user sent. */
|
|
11201
|
+
export declare type UserReportCategory = UserReport['category'];
|
|
11202
|
+
|
|
11203
|
+
/** Request body for `POST /users/me/reports`. */
|
|
11204
|
+
export declare type UserReportInput = Schemas['UserReportCreateInput'];
|
|
11205
|
+
|
|
11206
|
+
/** Whether a user report is open or resolved. */
|
|
11207
|
+
export declare type UserReportStatus = UserReport['status'];
|
|
11208
|
+
|
|
10004
11209
|
/**
|
|
10005
11210
|
* Something about a dictation the user should hear of:
|
|
10006
11211
|
* - `mic_denied`, `mic_missing`, `mic_error`: the microphone couldn't be opened.
|