Application Load

IProfileLogsRequest

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IProfileLogsRequest

List successful sign-in records for the current customer, including the recorded browser and device information.

app/interfaces/orionplace/accounts/IProfileData.ts
TypeScript
export interface IProfileLogsRequest {
  // Optional search conditions.
  filters?: {
    // Case-insensitive substring of the recorded IP address.
    remote_addr?: string;
    // Case-insensitive substring of the recorded User-Agent.
    remote_ua?: string;
    // Inclusive lower date bound in `DD.MM.YYYY` format.
    time_of_log_from?: string;
    // Inclusive upper date comparison in `DD.MM.YYYY` format. The filter
    // compares the timestamp with the parsed date; do not assume it includes
    // the whole final day.
    time_of_log_to?: string;
    // Sort by record ID or sign-in time; a leading minus reverses the order.
    // Default: descending ID.
    ordering?: 'id' | '-id' | 'time_of_log' | '-time_of_log';
  };
  // Page and page-size settings.
  paginate?: IApiPaginationRequest;
}