Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
// This file is auto-generated by @hey-api/openapi-ts
import { oc } from '@orpc/contract'
import * as z from 'zod'
import { zBillingOperationFailedError, zBillingUnavailableError } from './zod.gen.ts'
import {
zGetBillingInvoicesResponse,
zGetBillingSubscriptionQuery,
zGetBillingSubscriptionResponse,
} from './zod.gen.ts'
export const get = oc
.route({
inputStructure: 'detailed',
method: 'GET',
operationId: 'getBillingInvoices',
path: '/billing/invoices',
tags: ['console'],
})
.output(zGetBillingInvoicesResponse)
.errors({
billing_operation_failed: { status: 502, data: zBillingOperationFailedError },
billing_unavailable: { status: 503, data: zBillingUnavailableError },
})
export const invoices = {
get,
}
export const get2 = oc
.route({
inputStructure: 'detailed',
method: 'GET',
operationId: 'getBillingSubscription',
path: '/billing/subscription',
tags: ['console'],
})
.input(z.object({ query: zGetBillingSubscriptionQuery }))
.output(zGetBillingSubscriptionResponse)
.errors({
billing_operation_failed: { status: 502, data: zBillingOperationFailedError },
billing_unavailable: { status: 503, data: zBillingUnavailableError },
})
export const subscription = {
get: get2,
}
export const billing = {
invoices,
subscription,
}
export const contract = {
billing,
}