feat(js-sdk): Add API key (#8838)

* feat(js-sdk): Add API key

* address PR comments

* Allow params to create + update
This commit is contained in:
Oli Juhl
2024-08-28 13:07:06 +02:00
committed by GitHub
parent af6d43f0f0
commit dbe931ab00
13 changed files with 223 additions and 149 deletions

View File

@@ -22,6 +22,7 @@ export const AdminGetApiKeysParams = createFindParams({
created_at: createOperatorMap().optional(),
updated_at: createOperatorMap().optional(),
deleted_at: createOperatorMap().optional(),
revoked_at: createOperatorMap().optional(),
$and: z.lazy(() => AdminGetApiKeysParams.array()).optional(),
$or: z.lazy(() => AdminGetApiKeysParams.array()).optional(),
})