/* Options:
Date: 2026-01-13 14:45:12
Version: 8.71
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://team.evovoice.io
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: GetAIUsage.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Voice.Api.AI;
namespace Voice.Api.AI
{
public partial class AIAccountUsage
{
///
///The account ID this customer belongs to
///
[ApiMember(Description="The account ID this customer belongs to")]
public virtual string AccountId { get; set; }
///
///The total number of AI minutes used in the date range
///
[ApiMember(Description="The total number of AI minutes used in the date range")]
public virtual int AIMinutes { get; set; }
}
public partial class AICustomerUsage
{
///
///The account ID this customer belongs to
///
[ApiMember(Description="The account ID this customer belongs to")]
public virtual string AccountId { get; set; }
///
///The customer ID for this uage
///
[ApiMember(Description="The customer ID for this uage")]
public virtual string CustomerId { get; set; }
///
///The total number of AI minutes used in the date range
///
[ApiMember(Description="The total number of AI minutes used in the date range")]
public virtual int AIMinutes { get; set; }
}
public partial class AIUsage
{
public virtual List AccountUsage { get; set; }
public virtual List CustomerUsage { get; set; }
}
[Route("/ai/usage")]
public partial class GetAIUsage
: IReturn, IGet
{
///
///Filter by account ID. If not specified will return entries for all customers in all accounts in the date range
///
[ApiMember(Description="Filter by account ID. If not specified will return entries for all customers in all accounts in the date range")]
public virtual string AccountId { get; set; }
///
///Filter by customer ID. If not specified, will return all customers for the accounts considered
///
[ApiMember(Description="Filter by customer ID. If not specified, will return all customers for the accounts considered")]
public virtual string CustomerId { get; set; }
///
///The start of the date range to consider
///
[ApiMember(Description="The start of the date range to consider")]
public virtual string StartDate { get; set; }
///
///The end of the date range to consider
///
[ApiMember(Description="The end of the date range to consider")]
public virtual string EndDate { get; set; }
}
}