feat(filex): add admin event monitoring

This commit is contained in:
2026-09-09 22:36:22 +08:00
parent 96baec165c
commit c84fc90c3d
6 changed files with 254 additions and 20 deletions
+22 -19
View File
@@ -50,7 +50,7 @@ export interface paths {
content: {
"application/json": {
/**
* @example all
* @example active
* @enum {string|null}
*/
state?: "active" | "archived" | "trashed" | "all" | null;
@@ -346,7 +346,7 @@ export interface paths {
content: {
"application/json": {
/**
* @example group_only
* @example public
* @enum {string|null}
*/
visibility?: "public" | "group_only" | null;
@@ -539,7 +539,7 @@ export interface paths {
*/
language_code?: string;
/**
* @example published
* @example awaiting_publish
* @enum {string}
*/
status?: "draft" | "awaiting_publish" | "published";
@@ -4691,7 +4691,7 @@ export interface paths {
content: {
"application/json": {
/**
* @example rejected
* @example ignored
* @enum {string|null}
*/
status?: "sent" | "delivered" | "viewed" | "accepted" | "rejected" | "ignored" | "expired" | "taken_by_other" | null;
@@ -4885,12 +4885,12 @@ export interface paths {
content: {
"application/json": {
/**
* @example fulfilled
* @example started
* @enum {string|null}
*/
status?: "created" | "confirmed" | "started" | "consumed" | "paid" | "fulfilled" | "canceled" | null;
/**
* @example UNPAID
* @example PAID
* @enum {string|null}
*/
payment_status?: "UNPAID" | "PAID" | null;
@@ -5466,35 +5466,35 @@ export interface paths {
content: {
"application/json": {
/**
* @example public
* @example friends
* @enum {string|null}
*/
visibility?: "public" | "friends" | "private" | null;
/**
* @example visible
* @example blocked
* @enum {string|null}
*/
status?: "blocked" | "visible" | "all" | null;
/** @example architecto */
/** @example null */
user_uid?: string | null;
/**
* @description Must not be greater than 100 characters.
* @example n
* @example b
*/
primary_topic?: string | null;
/**
* @description Must not be greater than 100 characters.
* @example g
* @example n
*/
q?: string | null;
/**
* @description Must be at least 1.
* @example 66
* @example 67
*/
page?: number | null;
/**
* @description Must be at least 1. Must not be greater than 100.
* @example 17
* @example 16
*/
page_size?: number | null;
};
@@ -5528,7 +5528,8 @@ export interface paths {
* "comments_count": 3,
* "open_reports_count": 0,
* "event_day": "2026-07-10",
* "created_at": "2026-07-10T09:00:00Z"
* "created_at": "2026-07-10T09:00:00Z",
* "deleted_at": null
* }
* ]
*/
@@ -5565,6 +5566,8 @@ export interface paths {
event_day?: string;
/** @example 2026-07-10T09:00:00Z */
created_at?: string;
/** @example null */
deleted_at?: string;
}[];
pagination?: {
/** @example 1 */
@@ -5797,7 +5800,7 @@ export interface paths {
content: {
"application/json": {
/**
* @example all
* @example blocked
* @enum {string|null}
*/
status?: "pending" | "blocked" | "all" | null;
@@ -7682,9 +7685,9 @@ export interface paths {
* @example b
*/
q?: string | null;
/** @example true */
status?: boolean | null;
/** @example false */
status?: boolean | null;
/** @example true */
is_robot?: boolean | null;
/**
* @description Must not be greater than 100 characters.
@@ -9762,7 +9765,7 @@ export interface paths {
content: {
"application/json": {
/**
* @example pending
* @example blocked
* @enum {string|null}
*/
status?: "pending" | "blocked" | "all" | null;
@@ -10129,7 +10132,7 @@ export interface paths {
* @enum {string|null}
*/
platform?: "ios" | "android" | "web" | "desktop" | null;
/** @example true */
/** @example false */
is_online?: boolean | null;
/**
* @description Must be at least 1.