/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.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. */ /** * Organization-level settings with typed columns. One row per organization, lazily created on first write. * @export * @interface OrganizationSettings */ export interface OrganizationSettings { /** * Unique identifier for the settings row. * @type {string} * @memberof OrganizationSettings */ id?: string; /** * The organization these settings belong to. * @type {string} * @memberof OrganizationSettings */ organizationId?: string; /** * Whether the approval workflow is active for this organization. When true, sensitive admin actions require a second admin to approve. * @type {boolean} * @memberof OrganizationSettings */ approvalEnabled: boolean; /** * Number of hours before a pending approval request expires. Default 8. * @type {number} * @memberof OrganizationSettings */ approvalTtlHours: number; /** * Number of distinct admins (not counting the submitter) that must approve before an action is executed. Default 1. The upper bound enforced on update is the current owner + admin count minus 1. * @type {number} * @memberof OrganizationSettings */ approvalRequiredApprovals: number; /** * The user who last updated these settings. * @type {string} * @memberof OrganizationSettings */ updatedById?: string | null; /** * * @type {Date} * @memberof OrganizationSettings */ createdAt?: Date; /** * * @type {Date} * @memberof OrganizationSettings */ updatedAt?: Date; } export declare function OrganizationSettingsFromJSON(json: any): OrganizationSettings; export declare function OrganizationSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationSettings; export declare function OrganizationSettingsToJSON(value?: OrganizationSettings | null): any;