mirror of
https://github.com/langgenius/dify.git
synced 2026-07-24 21:18:35 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
49 lines
1014 B
TypeScript
49 lines
1014 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import * as z from 'zod'
|
|
|
|
/**
|
|
* BillingInvoiceResponse
|
|
*/
|
|
export const zBillingInvoiceResponse = z.object({
|
|
url: z.string(),
|
|
})
|
|
|
|
/**
|
|
* PartnerTenantsPayload
|
|
*/
|
|
export const zPartnerTenantsPayload = z.object({
|
|
click_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* BillingResponse
|
|
*/
|
|
export const zBillingResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetBillingInvoicesResponse = zBillingInvoiceResponse
|
|
|
|
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
|