1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-18 11:14:57 +02:00
unleash.unleash/frontend/src/openapi/models/createApiTokenSchemaOneOfFour.ts
2024-04-26 13:31:15 +02:00

27 lines
1.1 KiB
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type CreateApiTokenSchemaOneOfFour = {
/** The environment that the token should be valid for. Defaults to "default" */
environment?: string;
/** The time when this token should expire. */
expiresAt?: string;
/** The project that the token should be valid for. Defaults to "*" meaning every project. This property is mutually incompatible with the `projects` property. If you specify one, you cannot specify the other. */
project?: string;
/** A list of projects that the token should be valid for. This property is mutually incompatible with the `project` property. If you specify one, you cannot specify the other. */
projects?: string[];
/**
* A client or frontend token. Must be one of the strings "client" or "frontend" (not case sensitive).
* @pattern ^([Cc][Ll][Ii][Ee][Nn][Tt]|[Ff][Rr][Oo][Nn][Tt][Ee][Nn][Dd])$
*/
type: string;
/**
* The name of the token. This property is deprecated. Use `tokenName` instead.
* @deprecated
*/
username: string;
};