| |
|
|
| import { z } from 'zod' |
| import * as schemas from '../schemas.js' |
| import type { AcceptDateStrings } from '../../lib/wire.js' |
| import type { |
| CreateBillingProfileRequestInput, |
| Profile, |
| ProfilePagePaginatedResponse, |
| UpsertBillingProfileRequestInput, |
| } from '../types.js' |
|
|
| export interface ListBillingProfilesQuery { |
| |
| page?: { size?: number; number?: number } |
| } |
|
|
| export type ListBillingProfilesRequest = |
| AcceptDateStrings<ListBillingProfilesQuery> |
| export type ListBillingProfilesResponse = ProfilePagePaginatedResponse |
|
|
| export type CreateBillingProfileRequest = |
| AcceptDateStrings<CreateBillingProfileRequestInput> |
| export type CreateBillingProfileResponse = Profile |
|
|
| export type GetBillingProfileRequest = { |
| id: string |
| } |
| export type GetBillingProfileResponse = Profile |
|
|
| export type UpdateBillingProfileRequest = AcceptDateStrings<{ |
| id: string |
| body: UpsertBillingProfileRequestInput |
| }> |
| export type UpdateBillingProfileResponse = Profile |
|
|
| export type DeleteBillingProfileRequest = { |
| id: string |
| } |
| export type DeleteBillingProfileResponse = void |
|
|