mutation($namespaceIds: [NamespaceID!]!, $displayNamespaceId: NamespaceID) {
  bulkEnableDevopsAdoptionNamespaces(
    input: { namespaceIds: $namespaceIds, displayNamespaceId: $displayNamespaceId }
  ) {
    enabledNamespaces {
      id
      latestSnapshot {
        issueOpened
        mergeRequestOpened
        mergeRequestApproved
        runnerConfigured
        pipelineSucceeded
        deploySucceeded
        securityScanSucceeded
        recordedAt
        codeOwnersUsedCount
      }
      namespace {
        fullName
        id
      }
    }
    errors
  }
}
