1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-02 01:17:58 +02:00
unleash.unleash/frontend/src/openapi/models/createApiTokenSchemaOneOfThree.ts
2024-04-26 13:31:15 +02:00

24 lines
1.0 KiB
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type CreateApiTokenSchemaOneOfThree = {
/** 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[];
/** The name of the token. */
tokenName: 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;
};