2023-07-20 12:59:55 +02:00
|
|
|
/**
|
|
|
|
* Generated by Orval
|
|
|
|
* Do not edit manually.
|
|
|
|
* See `gen:api` script in package.json
|
|
|
|
*/
|
|
|
|
|
2023-09-13 15:50:42 +02:00
|
|
|
export type CreateApiTokenSchemaOneOfTwo = {
|
|
|
|
/** The time when this token should expire. */
|
|
|
|
expiresAt?: string;
|
2024-04-26 13:31:15 +02:00
|
|
|
/**
|
|
|
|
* An admin token. Must be the string "admin" (not case sensitive).
|
|
|
|
* @pattern ^[Aa][Dd][Mm][Ii][Nn]$
|
|
|
|
*/
|
2023-09-13 15:50:42 +02:00
|
|
|
type: string;
|
2023-07-20 12:59:55 +02:00
|
|
|
/**
|
2024-06-05 09:14:50 +02:00
|
|
|
* The name of the token. This property was deprecated in v5. Use `tokenName` instead.
|
2023-07-20 12:59:55 +02:00
|
|
|
* @deprecated
|
|
|
|
*/
|
|
|
|
username: string;
|
|
|
|
};
|