mirror of
https://github.com/langgenius/dify.git
synced 2026-06-14 21:01:08 +08:00
42 lines
900 B
TypeScript
42 lines
900 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import * as z from 'zod'
|
|
|
|
/**
|
|
* BillingResponse
|
|
*/
|
|
export const zBillingResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* PartnerTenantsPayload
|
|
*/
|
|
export const zPartnerTenantsPayload = z.object({
|
|
click_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetBillingInvoicesResponse = zBillingResponse
|
|
|
|
export const zPutBillingPartnersByPartnerKeyTenantsBody = zPartnerTenantsPayload
|
|
|
|
export const zPutBillingPartnersByPartnerKeyTenantsPath = z.object({
|
|
partner_key: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Tenants synced to partner successfully
|
|
*/
|
|
export const zPutBillingPartnersByPartnerKeyTenantsResponse = zBillingResponse
|
|
|
|
export const zGetBillingSubscriptionQuery = z.object({
|
|
interval: z.enum(['month', 'year']),
|
|
plan: z.enum(['professional', 'team']),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetBillingSubscriptionResponse = zBillingResponse
|