/** * Permit.io API * Authorization as a service * * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { EnvironmentRegeneration } from './environment-regeneration'; import { FullRegeneration } from './full-regeneration'; import { OrganizationRegeneration } from './organization-regeneration'; import { ProjectRegeneration } from './project-regeneration'; /** * @type Payload * @export */ export type Payload = ({ scope: 'environment'; } & EnvironmentRegeneration) | ({ scope: 'full'; } & FullRegeneration) | ({ scope: 'organization'; } & OrganizationRegeneration) | ({ scope: 'project'; } & ProjectRegeneration);