mirror of
https://github.com/langgenius/dify.git
synced 2026-05-11 14:58:23 +08:00
27 lines
667 B
TypeScript
27 lines
667 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import * as z from 'zod'
|
|
|
|
/**
|
|
* TenantInfoResponse
|
|
*/
|
|
export const zTenantInfoResponse = z.object({
|
|
created_at: z.int().nullish(),
|
|
custom_config: z.record(z.string(), z.unknown()).nullish(),
|
|
id: z.string(),
|
|
in_trial: z.boolean().nullish(),
|
|
name: z.string().nullish(),
|
|
next_credit_reset_date: z.int().nullish(),
|
|
plan: z.string().nullish(),
|
|
role: z.string().nullish(),
|
|
status: z.string().nullish(),
|
|
trial_credits: z.int().nullish(),
|
|
trial_credits_used: z.int().nullish(),
|
|
trial_end_reason: z.string().nullish(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostInfoResponse = zTenantInfoResponse
|