/** * 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. */ /** * * @export * @interface APIKeysUpdatePayloadV1 */ export interface APIKeysUpdatePayloadV1 { /** * Freeform notes about the API key */ comments?: string; /** * Human-readable name for the API key */ name: string; /** * Account-level roles for the API key. These roles apply across the entire account, not scoped to specific teams. Pass an empty array if no account-level roles are needed. */ role_names: Array; /** * IDs of teams to scope the `team_role_names` to. If provided, `team_role_names` must also be a non-empty array, and vice versa. Pass an empty array if the key should not be scoped to any teams. */ team_ids: Array; /** * Roles to grant for the teams specified in `team_ids`. If provided, `team_ids` must also be a non-empty array, and vice versa. Pass an empty array if no team-level roles are needed. */ team_role_names: Array; } /** * @export */ export declare const APIKeysUpdatePayloadV1RoleNamesEnum: { 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 APIKeysUpdatePayloadV1RoleNamesEnum = typeof APIKeysUpdatePayloadV1RoleNamesEnum[keyof typeof APIKeysUpdatePayloadV1RoleNamesEnum]; /** * @export */ export declare const APIKeysUpdatePayloadV1TeamRoleNamesEnum: { 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 APIKeysUpdatePayloadV1TeamRoleNamesEnum = typeof APIKeysUpdatePayloadV1TeamRoleNamesEnum[keyof typeof APIKeysUpdatePayloadV1TeamRoleNamesEnum]; /** * Check if a given object implements the APIKeysUpdatePayloadV1 interface. */ export declare function instanceOfAPIKeysUpdatePayloadV1(value: object): value is APIKeysUpdatePayloadV1; export declare function APIKeysUpdatePayloadV1FromJSON(json: any): APIKeysUpdatePayloadV1; export declare function APIKeysUpdatePayloadV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): APIKeysUpdatePayloadV1; export declare function APIKeysUpdatePayloadV1ToJSON(json: any): APIKeysUpdatePayloadV1; export declare function APIKeysUpdatePayloadV1ToJSONTyped(value?: APIKeysUpdatePayloadV1 | null, ignoreDiscriminator?: boolean): any;