export type ApiListMeta = { page: number; perPage: number; totalCount: number; totalPages: number; }; export type CurrentProject = { id: string; name: string; }; export type ApiEnvelope = { data: T; meta?: ApiListMeta; }; export type Customer = { createdAt: string; externalCustomerId: string; id: string; name: string; updatedAt: string; }; export type CustomerCreateInput = { externalCustomerId: string; name: string; }; export type SetupLinkCreateInput = { allowedConnectionTypes?: string[]; failureRedirectUrl?: string; language?: string; phoneNumberAreaCode?: string; phoneNumberCountryIsos?: string[]; provisionPhoneNumber: boolean; successRedirectUrl?: string; }; export type SetupLink = { allowedConnectionTypes?: string[]; createdAt: string; expiresAt: string; failureRedirectUrl?: string; id: string; language?: string; phoneNumberAreaCode?: string; phoneNumberCountryIsos?: string[]; provisionedPhoneNumber?: null | Record; provisionPhoneNumber: boolean; status: string; successRedirectUrl?: string; url: string; whatsappSetupError?: null | string; whatsappSetupStatus?: string; }; export type WhatsAppWebhook = { active: boolean; bufferEnabled?: boolean; bufferEvents?: string[]; bufferWindowSeconds?: number; createdAt: string; events: string[]; headers?: Record; id: string; inactivityMinutes?: number; kind: 'kapso' | 'meta'; maxBufferSize?: number; payloadVersion: 'v1' | 'v2'; phoneNumberId?: null | string; projectId?: null | string; secretKey?: string; updatedAt: string; url: string; }; export type WhatsAppWebhookCreateInput = { active?: boolean; bufferEnabled?: boolean; bufferEvents?: string[]; bufferWindowSeconds?: number; events?: string[]; headers?: Record; inactivityMinutes?: number; kind?: 'kapso' | 'meta'; maxBufferSize?: number; payloadVersion?: 'v1' | 'v2'; secretKey: string; url: string; }; export type WhatsAppWebhookUpdateInput = { active?: boolean; bufferEnabled?: boolean; bufferEvents?: string[]; bufferWindowSeconds?: number; events?: string[]; headers?: Record; inactivityMinutes?: number; kind?: 'kapso' | 'meta'; maxBufferSize?: number; payloadVersion?: 'v1' | 'v2'; secretKey?: string; url?: string; }; export type WhatsAppNumber = { businessAccountId?: string; callsEnabled?: boolean; codeVerificationStatus?: string; createdAt: string; customerId?: null | string; displayName?: string; displayPhoneNumber?: string; id: string; inboundProcessingEnabled?: boolean; internalId?: string; isCoexistence?: boolean; isOfficialBusinessAccount?: boolean; isPinEnabled?: boolean; name?: string; nameStatus?: string; phoneNumberId: string; qualityRating?: string; status?: string; throughputTier?: string; updatedAt: string; verifiedName?: string; webhookVerifiedAt?: null | string; whatsappBusinessManagerMessagingLimit?: string; }; export type ProjectConversation = { createdAt: string; id: string; kapso?: Record; lastActiveAt?: string; metadata?: Record; phoneNumber?: string; phoneNumberId?: string; status?: string; updatedAt: string; }; export type ProjectMessage = { [key: string]: unknown; id: string; kapso?: Record; timestamp?: string; type?: string; };