feat: search date filter (#710)

* search date filter

* search date filter

* search date filter

* search date filter

* pr comment

---------

Co-authored-by: Igor Loskutov <igor.loskutoff@gmail.com>
This commit is contained in:
Igor Monadical
2025-10-23 20:16:43 -04:00
committed by GitHub
parent 3c4b9f2103
commit 962c40e2b6
4 changed files with 361 additions and 54 deletions

View File

@@ -604,25 +604,25 @@ export interface paths {
patch?: never;
trace?: never;
};
"/v1/user/tokens": {
"/v1/user/api-keys": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** List Tokens */
get: operations["v1_list_tokens"];
/** List Api Keys */
get: operations["v1_list_api_keys"];
put?: never;
/** Create Token */
post: operations["v1_create_token"];
/** Create Api Key */
post: operations["v1_create_api_key"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/user/tokens/{token_id}": {
"/v1/user/api-keys/{key_id}": {
parameters: {
query?: never;
header?: never;
@@ -632,8 +632,8 @@ export interface paths {
get?: never;
put?: never;
post?: never;
/** Delete Token */
delete: operations["v1_delete_token"];
/** Delete Api Key */
delete: operations["v1_delete_api_key"];
options?: never;
head?: never;
patch?: never;
@@ -700,6 +700,26 @@ export interface paths {
export type webhooks = Record<string, never>;
export interface components {
schemas: {
/** ApiKeyResponse */
ApiKeyResponse: {
/**
* Id
* @description A non-empty string
*/
id: string;
/**
* User Id
* @description A non-empty string
*/
user_id: string;
/** Name */
name: string | null;
/**
* Created At
* Format: date-time
*/
created_at: string;
};
/** AudioWaveform */
AudioWaveform: {
/** Data */
@@ -759,6 +779,36 @@ export interface components {
*/
updated_at: string;
};
/** CreateApiKeyRequest */
CreateApiKeyRequest: {
/** Name */
name?: string | null;
};
/** CreateApiKeyResponse */
CreateApiKeyResponse: {
/**
* Id
* @description A non-empty string
*/
id: string;
/**
* User Id
* @description A non-empty string
*/
user_id: string;
/** Name */
name: string | null;
/**
* Created At
* Format: date-time
*/
created_at: string;
/**
* Key
* @description A non-empty string
*/
key: string;
};
/** CreateParticipant */
CreateParticipant: {
/** Speaker */
@@ -811,27 +861,6 @@ export interface components {
*/
allow_duplicated: boolean | null;
};
/** CreateTokenRequest */
CreateTokenRequest: {
/** Name */
name?: string | null;
};
/** CreateTokenResponse */
CreateTokenResponse: {
/** Id */
id: string;
/** User Id */
user_id: string;
/** Name */
name: string | null;
/**
* Created At
* Format: date-time
*/
created_at: string;
/** Token */
token: string;
};
/** CreateTranscript */
CreateTranscript: {
/** Name */
@@ -1425,20 +1454,6 @@ export interface components {
* @enum {string}
*/
SyncStatus: "success" | "unchanged" | "error" | "skipped";
/** TokenResponse */
TokenResponse: {
/** Id */
id: string;
/** User Id */
user_id: string;
/** Name */
name: string | null;
/**
* Created At
* Format: date-time
*/
created_at: string;
};
/** Topic */
Topic: {
/** Name */
@@ -2263,6 +2278,10 @@ export interface operations {
offset?: number;
room_id?: string | null;
source_kind?: components["schemas"]["SourceKind"] | null;
/** @description Filter transcripts created on or after this datetime (ISO 8601 with timezone) */
from?: string | null;
/** @description Filter transcripts created on or before this datetime (ISO 8601 with timezone) */
to?: string | null;
};
header?: never;
path?: never;
@@ -3004,7 +3023,7 @@ export interface operations {
};
};
};
v1_list_tokens: {
v1_list_api_keys: {
parameters: {
query?: never;
header?: never;
@@ -3019,12 +3038,12 @@ export interface operations {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["TokenResponse"][];
"application/json": components["schemas"]["ApiKeyResponse"][];
};
};
};
};
v1_create_token: {
v1_create_api_key: {
parameters: {
query?: never;
header?: never;
@@ -3033,7 +3052,7 @@ export interface operations {
};
requestBody: {
content: {
"application/json": components["schemas"]["CreateTokenRequest"];
"application/json": components["schemas"]["CreateApiKeyRequest"];
};
};
responses: {
@@ -3043,7 +3062,7 @@ export interface operations {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["CreateTokenResponse"];
"application/json": components["schemas"]["CreateApiKeyResponse"];
};
};
/** @description Validation Error */
@@ -3057,12 +3076,12 @@ export interface operations {
};
};
};
v1_delete_token: {
v1_delete_api_key: {
parameters: {
query?: never;
header?: never;
path: {
token_id: string;
key_id: string;
};
cookie?: never;
};