/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * 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. */ import type { IdentityTeamV1 } from './IdentityTeamV1.js'; /** * * @export * @interface IdentityV1 */ export interface IdentityV1 { /** * The dashboard URL for this organisation */ dashboard_url: string; /** * The name assigned to the current API Key */ name: string; /** * Which roles have been enabled for this key */ roles: Array; /** * If set, these roles apply to requests that operate on resources owned by any of the teams in the 'teams' array. These are in addition to any 'roles' which are applied on all requests. */ team_roles: Array; /** * Teams that this API key is scoped to. If this is not empty, the current API key has additional roles within these teams (see team_roles). */ teams: Array; } /** * @export */ export declare const IdentityV1RolesEnum: { readonly Viewer: "viewer"; readonly IncidentCreator: "incident_creator"; readonly IncidentEditor: "incident_editor"; readonly ManageSettings: "manage_settings"; readonly GlossaryEntriesManage: "glossary_entries_manage"; readonly GlobalAccess: "global_access"; readonly CatalogViewer: "catalog_viewer"; readonly CatalogEditor: "catalog_editor"; readonly IncidentMembershipsEditor: "incident_memberships_editor"; readonly SchedulesEditor: "schedules_editor"; readonly SchedulesReader: "schedules_reader"; readonly ScheduleOverridesEditor: "schedule_overrides_editor"; readonly WorkflowsEditor: "workflows_editor"; readonly WorkflowsViewer: "workflows_viewer"; readonly PrivateWorkflowsEditor: "private_workflows_editor"; readonly PrivateEscalationWorkflowsEditor: "private_escalation_workflows_editor"; readonly OnCallEditor: "on_call_editor"; readonly OnCallViewer: "on_call_viewer"; readonly EscalationCreator: "escalation_creator"; readonly PostIncidentFlowOptOut: "post_incident_flow_opt_out"; readonly SecuritySettingsEditor: "security_settings_editor"; readonly InvestigationDownload: "investigation_download"; readonly TeamMembershipsManage: "team_memberships_manage"; readonly StatusPagePublisher: "status_page_publisher"; readonly StatusPageViewer: "status_page_viewer"; readonly PostmortemsManage: "postmortems_manage"; readonly ApiKeysManage: "api_keys_manage"; readonly NotificationMethodsManage: "notification_methods_manage"; readonly NotificationMethodsUnredactedViewer: "notification_methods_unredacted_viewer"; readonly IncidentWorkloadViewer: "incident_workload_viewer"; readonly IncidentWorkloadPrivateViewer: "incident_workload_private_viewer"; readonly ActOnBehalfOfUsers: "act_on_behalf_of_users"; readonly SecretsManage: "secrets_manage"; readonly SecretsUse: "secrets_use"; readonly CallTranscriptsViewer: "call_transcripts_viewer"; readonly HeartbeatsPing: "heartbeats_ping"; readonly TelemetryQueryRestricted: "telemetry_query_restricted"; readonly TelemetryDataSourceUpdate: "telemetry_data_source_update"; readonly PoliciesViewer: "policies_viewer"; readonly PolicyFindingsManage: "policy_findings_manage"; readonly PayReportsViewer: "pay_reports_viewer"; readonly PayReportsEditor: "pay_reports_editor"; readonly PayConfigsViewer: "pay_configs_viewer"; readonly PayConfigsEditor: "pay_configs_editor"; readonly InvestigationsEditor: "investigations_editor"; readonly TelemetryViewer: "telemetry_viewer"; readonly DocumentsViewer: "documents_viewer"; readonly UserSessionsRevoke: "user_sessions_revoke"; readonly UsersViewer: "users_viewer"; readonly AccessControlManage: "access_control_manage"; }; export type IdentityV1RolesEnum = typeof IdentityV1RolesEnum[keyof typeof IdentityV1RolesEnum]; /** * @export */ export declare const IdentityV1TeamRolesEnum: { readonly CatalogEditor: "catalog_editor"; readonly SchedulesEditor: "schedules_editor"; readonly SchedulesReader: "schedules_reader"; readonly ScheduleOverridesEditor: "schedule_overrides_editor"; readonly OnCallEditor: "on_call_editor"; readonly EscalationCreator: "escalation_creator"; readonly ApiKeysManage: "api_keys_manage"; readonly WorkflowsEditor: "workflows_editor"; readonly PrivateWorkflowsEditor: "private_workflows_editor"; readonly SecretsManage: "secrets_manage"; readonly SecretsUse: "secrets_use"; readonly HeartbeatsPing: "heartbeats_ping"; readonly TelemetryQueryRestricted: "telemetry_query_restricted"; readonly TelemetryDataSourceUpdate: "telemetry_data_source_update"; }; export type IdentityV1TeamRolesEnum = typeof IdentityV1TeamRolesEnum[keyof typeof IdentityV1TeamRolesEnum]; /** * Check if a given object implements the IdentityV1 interface. */ export declare function instanceOfIdentityV1(value: object): value is IdentityV1; export declare function IdentityV1FromJSON(json: any): IdentityV1; export declare function IdentityV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentityV1; export declare function IdentityV1ToJSON(json: any): IdentityV1; export declare function IdentityV1ToJSONTyped(value?: IdentityV1 | null, ignoreDiscriminator?: boolean): any;