Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/client-search/src/types/GetApiKeyResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { ApiKeyACLType } from '.';

export type GetApiKeyResponse = {
/**
* A Unix timestamp used to define the expiration date of the API key.
* The api key value
*/
value: string;

/**
* Date of creation.
* Date of creation (Unix timestamp).
*/
createdAt: string;
createdAt: number;

/**
* List of permissions the key contains.
Expand Down
7 changes: 7 additions & 0 deletions packages/client-search/src/types/UpdateApiKeyOptions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
import { ApiKeyACLType } from '.';

export type UpdateApiKeyOptions = {
/**
* List of permissions the key contains.
*/
readonly acl?: readonly ApiKeyACLType[];

/**
* A Unix timestamp used to define the expiration date of the API key.
*/
Expand Down