import { ApplicationResponse } from './ApplicationResponse.js'; import { APILinks } from '@vonage/server-client'; import './CapabilityBulkResponse.js'; import './CapabilityMeetingsResponse.js'; import './CapabilityMessagesResponse.js'; import './CapabilityRTCResponse.js'; import './CapabilityVerifyResponse.js'; import './CapabilityVoiceResponse.js'; import './CapabilityWebhookResponse.js'; import '../Application.js'; import '../CapabilityBulk.js'; import '../CapabilityWebhook.js'; import '../CapabilityMeetings.js'; import '../CapabilityMessages.js'; import '../CapabilityRTC.js'; import '../CapabilityVerify.js'; import '../CapabilityVoice.js'; import '../../enums/VoiceRegions.js'; /** * Represents the response for a paginated list of applications. * * @remarks * Vonage API's will return information using `snake_case`. This represents the * pure response before the client will transform the keys into `camelCase` * * @link https://developer.vonage.com/en/api/application.v2#listApplication */ type ApplicationPageResponse = { /** * The number of applications per page. */ page_size: number; /** * The current page number (starts at 1). */ page: number; /** * The total number of applications. */ total_items: number; /** * The total number of pages returned. */ total_pages: number; /** * A list of applications matching your existing filters. */ applications: ApplicationResponse[]; /** * An object containing a list of applications. */ _embedded: { /** * A list of applications matching your existing filters. */ applications: Array; }; } & APILinks; export type { ApplicationPageResponse };