chore(api): regenerate admin contract types

This commit is contained in:
2026-09-10 20:17:03 +08:00
parent 1243ed6c92
commit d8f8071bc2
+85 -13
View File
@@ -50,7 +50,7 @@ export interface paths {
content: { content: {
"application/json": { "application/json": {
/** /**
* @example active * @example all
* @enum {string|null} * @enum {string|null}
*/ */
state?: "active" | "archived" | "trashed" | "all" | null; state?: "active" | "archived" | "trashed" | "all" | null;
@@ -346,7 +346,7 @@ export interface paths {
content: { content: {
"application/json": { "application/json": {
/** /**
* @example public * @example group_only
* @enum {string|null} * @enum {string|null}
*/ */
visibility?: "public" | "group_only" | null; visibility?: "public" | "group_only" | null;
@@ -4357,7 +4357,7 @@ export interface paths {
/** @example architecto */ /** @example architecto */
status?: string | null; status?: string | null;
/** /**
* @example quote * @example scheduled_booking
* @enum {string|null} * @enum {string|null}
*/ */
dispatch_mode?: "instant_accept" | "quote" | "scheduled_booking" | "manual_selection" | null; dispatch_mode?: "instant_accept" | "quote" | "scheduled_booking" | "manual_selection" | null;
@@ -4677,7 +4677,7 @@ export interface paths {
content: { content: {
"application/json": { "application/json": {
/** /**
* @example ignored * @example viewed
* @enum {string|null} * @enum {string|null}
*/ */
status?: "sent" | "delivered" | "viewed" | "accepted" | "rejected" | "ignored" | "expired" | "taken_by_other" | null; status?: "sent" | "delivered" | "viewed" | "accepted" | "rejected" | "ignored" | "expired" | "taken_by_other" | null;
@@ -4871,12 +4871,12 @@ export interface paths {
content: { content: {
"application/json": { "application/json": {
/** /**
* @example started * @example paid
* @enum {string|null} * @enum {string|null}
*/ */
status?: "created" | "confirmed" | "started" | "consumed" | "paid" | "fulfilled" | "canceled" | null; status?: "created" | "confirmed" | "started" | "consumed" | "paid" | "fulfilled" | "canceled" | null;
/** /**
* @example PAID * @example UNPAID
* @enum {string|null} * @enum {string|null}
*/ */
payment_status?: "UNPAID" | "PAID" | null; payment_status?: "UNPAID" | "PAID" | null;
@@ -5165,7 +5165,7 @@ export interface paths {
* @enum {string|null} * @enum {string|null}
*/ */
status?: "offline" | "online" | "inactive" | "busy" | null; status?: "offline" | "online" | "inactive" | "busy" | null;
/** @example true */ /** @example false */
is_disabled?: boolean | null; is_disabled?: boolean | null;
/** @example true */ /** @example true */
is_verified?: boolean | null; is_verified?: boolean | null;
@@ -5452,12 +5452,12 @@ export interface paths {
content: { content: {
"application/json": { "application/json": {
/** /**
* @example friends * @example private
* @enum {string|null} * @enum {string|null}
*/ */
visibility?: "public" | "friends" | "private" | null; visibility?: "public" | "friends" | "private" | null;
/** /**
* @example blocked * @example all
* @enum {string|null} * @enum {string|null}
*/ */
status?: "blocked" | "visible" | "all" | null; status?: "blocked" | "visible" | "all" | null;
@@ -5786,7 +5786,7 @@ export interface paths {
content: { content: {
"application/json": { "application/json": {
/** /**
* @example blocked * @example all
* @enum {string|null} * @enum {string|null}
*/ */
status?: "pending" | "blocked" | "all" | null; status?: "pending" | "blocked" | "all" | null;
@@ -9751,7 +9751,7 @@ export interface paths {
content: { content: {
"application/json": { "application/json": {
/** /**
* @example blocked * @example all
* @enum {string|null} * @enum {string|null}
*/ */
status?: "pending" | "blocked" | "all" | null; status?: "pending" | "blocked" | "all" | null;
@@ -10071,6 +10071,78 @@ export interface paths {
}; };
trace?: never; trace?: never;
}; };
"/api/admin/v1/notification/devices/stats": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* []
* @description
*/
get: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
/** @example true */
success?: boolean;
data?: {
/** @example 150 */
total_devices?: number;
/** @example 89 */
online_devices?: number;
platform_stats?: {
/** @example 45 */
ios?: number;
/** @example 67 */
android?: number;
/** @example 23 */
web?: number;
/** @example 15 */
desktop?: number;
};
};
/** @example Device statistics retrieved successfully */
message?: string;
};
};
};
400: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
/** @example false */
success?: boolean;
/** @example Failed to retrieve statistics: [error message] */
message?: string;
};
};
};
};
};
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/admin/v1/notification/devices": { "/api/admin/v1/notification/devices": {
parameters: { parameters: {
query?: never; query?: never;
@@ -10114,11 +10186,11 @@ export interface paths {
content: { content: {
"application/json": { "application/json": {
/** /**
* @example android * @example desktop
* @enum {string|null} * @enum {string|null}
*/ */
platform?: "ios" | "android" | "web" | "desktop" | null; platform?: "ios" | "android" | "web" | "desktop" | null;
/** @example false */ /** @example true */
is_online?: boolean | null; is_online?: boolean | null;
/** /**
* @description Must be at least 1. * @description Must be at least 1.